Class BlockEvent.FarmlandTrampleEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.world.BlockEvent
net.minecraftforge.event.world.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()