Class EntityFallOnEvent

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
com.petrolpark.core.world.entity.EntityFallOnEvent

public class EntityFallOnEvent extends net.neoforged.neoforge.event.entity.EntityEvent
See Also:
  • Block.updateEntityAfterFallOn(net.minecraft.world.level.BlockGetter, Entity)
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.neoforged.neoforge.event.entity.EntityEvent

    net.neoforged.neoforge.event.entity.EntityEvent.EnteringSection, net.neoforged.neoforge.event.entity.EntityEvent.EntityConstructing, net.neoforged.neoforge.event.entity.EntityEvent.Size
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final net.minecraft.core.BlockPos
     
    protected final net.minecraft.world.level.block.state.BlockState
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    EntityFallOnEvent(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.Level
     
    net.minecraft.core.BlockPos
     
    net.minecraft.world.level.block.state.BlockState
     

    Methods inherited from class net.neoforged.neoforge.event.entity.EntityEvent

    getEntity

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • pos

      protected final net.minecraft.core.BlockPos pos
    • state

      protected final net.minecraft.world.level.block.state.BlockState state
  • Constructor Details

    • EntityFallOnEvent

      public EntityFallOnEvent(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • getLevel

      public net.minecraft.world.level.Level getLevel()
    • getPos

      public net.minecraft.core.BlockPos getPos()
    • getState

      public net.minecraft.world.level.block.state.BlockState getState()