Package net.minecraftforge.event.entity
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
Modifier and TypeFieldDescriptionprivate 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
ConstructorDescriptionEyeHeight
(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 TypeMethodDescriptionfloat
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.getPose()
Deprecated, for removal: This API element is subject to removal in a future version.getSize()
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
-
Field Details
-
pose
Deprecated, for removal: This API element is subject to removal in a future version. -
size
Deprecated, for removal: This API element is subject to removal in a future version. -
originalEyeHeight
private final float originalEyeHeightDeprecated, for removal: This API element is subject to removal in a future version. -
newEyeHeight
private float newEyeHeightDeprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
EyeHeight
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getPose
Deprecated, for removal: This API element is subject to removal in a future version. -
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.
-