Class BlockEvent.FarmlandTrampleEvent

  • Enclosing class:
    BlockEvent

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

      • entity

        private final Entity entity
      • fallDistance

        private final float fallDistance
    • Constructor Detail

    • Method Detail

      • getEntity

        public Entity getEntity()
      • getFallDistance

        public float getFallDistance()