added __on_start and defined better meta-events
This commit is contained in:
1 parent
0a45778e4a
commit
4c09d6b736
8 files changed
+86
-22
No files matched your search
@@ -1,7 +1,7 @@
|
||||
__command() ->
|
||||
__config() ->
|
||||
__on_chunk_generated(x, z) ->
|
||||
__on_close() ->
|
||||
__on_chunk_generated(x, z) ->
|
||||
__on_close() ->
|
||||
__on_player_attacks_entity(player, entity) ->
|
||||
__on_player_breaks_block(player, block) ->
|
||||
__on_player_clicks_block(player, block, face) ->
|
||||
@@ -25,14 +25,15 @@ __on_player_starts_sprinting(player) ->
|
||||
__on_player_stops_sneaking(player) ->
|
||||
__on_player_stops_sprinting(player) ->
|
||||
__on_player_swings_hand(player, hand) ->
|
||||
__on_player_switches_slot(player, from, to) ->
|
||||
__on_player_switches_slot(player, from, to) ->
|
||||
__on_player_swaps_hands(player) ->
|
||||
__on_player_takes_damage(player, amount, source, entity) ->
|
||||
__on_player_trades(player, entity, buy_left, buy_right, sell) ->
|
||||
__on_player_uses_item(player, item_tuple, hand) ->
|
||||
__on_player_wakes_up(player) ->
|
||||
__on_player_escapes_sleep(player) ->
|
||||
__on_statistic(player, category, event, value) ->
|
||||
__on_statistic(player, category, event, value) ->
|
||||
__on_start() ->
|
||||
__on_tick() ->
|
||||
__on_tick_ender() ->
|
||||
__on_tick_nether() ->
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
__on_player_wakes_up
|
||||
__on_player_escapes_sleep
|
||||
__on_statistic
|
||||
__on_start
|
||||
__on_tick
|
||||
__on_tick_ender
|
||||
__on_tick_nether
|
||||
|
||||
Reference in new issue
Block a user