You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to check the location of the block_interact event rather than the player's body? For example, if the player is on their plot (using the Towny plugin) with the condition %townyadvanced_player_plot_is_trusted% == true, and they move to the edge of their plot, they can interact with blocks from another plot.
The location of the block interact is provided by the %block_% variables. If you need to check if the block clicked is on a townyadvanced plot, that plugin must provide a variable to check that from a location.
Is it possible to check the location of the block_interact event rather than the player's body? For example, if the player is on their plot (using the Towny plugin) with the condition %townyadvanced_player_plot_is_trusted% == true, and they move to the edge of their plot, they can interact with blocks from another plot.
here my event
Events:
paint_wool:
type: block_interact
enabled: true
conditions:
- '%action_type% == RIGHT_CLICK'
- '%townyadvanced_player_plot_is_trusted% == true'
- '%block% contains WOOL'
- '%item% == WHITE_DYE execute white_wool'
actions:
white_wool:
- "console_command: execute at %player% run setblock %block_x% %block_y% %block_z% minecraft:white_wool"
The text was updated successfully, but these errors were encountered: