Class EntityEvent.EyeHeight

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.entity.EntityEvent
net.minecraftforge.event.entity.EntityEvent.EyeHeight
Enclosing class:
EntityEvent

@Deprecated(forRemoval=true, since="1.20.1") public static class EntityEvent.EyeHeight extends EntityEvent
Deprecated, for removal: This API element is subject to removal in a future version.
Remove Entity Eye/Size hooks, as they need to be redesigned, this is no longer fired in any forge/vanilla code.
  • Nested Class Summary

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

    EntityEvent.EnteringSection, EntityEvent.EntityConstructing, EntityEvent.EyeHeight, EntityEvent.Size

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private float
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    private final float
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    private final Pose
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    private final EntityDimensions
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    EyeHeight(Entity entity, Pose pose, EntityDimensions size, float eyeHeight)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    float
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setNewEyeHeight(float newEyeHeight)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class net.minecraftforge.event.entity.EntityEvent

    getEntity

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

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

    • pose

      private final Pose pose
      Deprecated, for removal: This API element is subject to removal in a future version.
    • size

      private final EntityDimensions size
      Deprecated, for removal: This API element is subject to removal in a future version.
    • originalEyeHeight

      private final float originalEyeHeight
      Deprecated, for removal: This API element is subject to removal in a future version.
    • newEyeHeight

      private float newEyeHeight
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • EyeHeight

      public EyeHeight(Entity entity, Pose pose, EntityDimensions size, float eyeHeight)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getPose

      public Pose getPose()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSize

      public EntityDimensions getSize()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getOriginalEyeHeight

      public float getOriginalEyeHeight()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getNewEyeHeight

      public float getNewEyeHeight()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setNewEyeHeight

      public void setNewEyeHeight(float newEyeHeight)
      Deprecated, for removal: This API element is subject to removal in a future version.