block not pos

This commit is contained in:
gnembon committed 2020-04-03 00:50:22 -03:00
1 parent 321a051a80
commit d08a348266
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2860,7 +2860,7 @@ __on_tick_ender() // can access blocks and entities in the end
__on_chunk_generated(x,z) // called after a chunk is promoted to the full chunk,
// prodiving lowest x and z coords in the chunk
// event will not work with optifine installed in the game
__on_lightning(pos, mode) // mode is `true` if lightning caused horse trap to spawn
__on_lightning(block, mode) // mode is `true` if lightning caused horse trap to spawn
// player specific callbacks
__on_player_uses_item(player, item_tuple, hand) // right click action
__on_player_releases_item(player, item_tuple, hand) // client action (e.g. bow)
+1 -1
View File
@@ -21,7 +21,7 @@ __on_tick_ender() // can access blocks and entities in the end
__on_chunk_generated(x,z) // called after a chunk is promoted to the full chunk,
// prodiving lowest x and z coords in the chunk
// event will not work with optifine installed in the game
__on_lightning(pos, mode) // mode is `true` if lightning caused horse trap to spawn
__on_lightning(block, mode) // mode is `true` if lightning caused horse trap to spawn
// player specific callbacks
__on_player_uses_item(player, item_tuple, hand) // right click action
__on_player_releases_item(player, item_tuple, hand) // client action (e.g. bow)