Class BlockEvent.FarmlandTrampleEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.level.BlockEvent
net.minecraftforge.event.level.BlockEvent.FarmlandTrampleEvent
Enclosing class:
BlockEvent

public static class BlockEvent.FarmlandTrampleEvent extends BlockEvent
Fired when when farmland gets trampled This event is Cancelable
  • Field Details

    • entity

      private final Entity entity
    • fallDistance

      private final float fallDistance
  • Constructor Details

  • Method Details

    • getEntity

      public Entity getEntity()
    • getFallDistance

      public float getFallDistance()