#(Breadcrumb) Event for player jumping on plants and breaking them

22 messages · Page 1 of 1 (latest)

civic thistle
#

Is there an event that can detect when the player breaks a crop (potato, carrot, beetroot, etc.) by jumping on it? The on player breaks block event does not seem to work for it.

north duneBOT
#

(Breadcrumb) Event for player jumping on plants and breaking them

north duneBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

grand tapir
#

on player changes farmland to dirt, or something

#

!event entity changes block

molten stormBOT
# grand tapir !event entity changes block
Group

Entity

Event Lines

<entity> changes <block> (into <block>)

Triggers

when an entity changes the material of a block.

Has Player

when the entity that changed the block is a player. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.

Context

<context.entity> returns the EntityTag that changed the block.
<context.location> returns the LocationTag of the changed block.
<context.old_material> returns the old material of the block.
<context.new_material> returns the new material of the block.

Has Known Location

True - this adds switches in:<area> + location_flagged:<flag name>.

Cancellable

True - this adds <context.cancelled> and determines cancelled + cancelled:false.

grand tapir
#

yeah, that

civic thistle
#

oo thanks

grand tapir
#

that gives me a great idea

civic thistle
#

ye?

grand tapir
#

instead of just changing it to dirt, i'll just drop wheat/carrots/etc and change the age back some

#

haha thank

civic thistle
#

oh awesome haha np

#

yep that worked thanks behr