Interface EntityEvent

All Superinterfaces:
LevelEvent, PositionEvent
All Known Subinterfaces:
LocalPlayerEvent, PlayerEvent, ServerPlayerEvent
All Known Implementing Classes:
EntityLoadEvent, EntitySaveEvent, EntitySpawnEvent, EntitySpawnEvent.ExistingSpawnEvent, EntitySpawnEvent.FreshSpawnEvent, LocalPlayerJoinEvent, LocalPlayerQuitEvent, PlayerBreakBlockEvent, PlayerPlaceBlockEvent, ServerPlayerQuitEvent, UseBlockEvent, UseEntityEvent, UseItemEvent

public interface EntityEvent extends PositionEvent, LevelEvent
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.entity.Entity
     
    default net.minecraft.world.level.Level
     
    default net.minecraft.world.phys.Vec3
     
  • Method Details

    • getEntity

      net.minecraft.world.entity.Entity getEntity()
    • getPosition

      default net.minecraft.world.phys.Vec3 getPosition()
      Specified by:
      getPosition in interface PositionEvent
    • getLevel

      default net.minecraft.world.level.Level getLevel()
      Specified by:
      getLevel in interface LevelEvent