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.SizeNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatDeprecated, for removal: This API element is subject to removal in a future version.private final floatDeprecated, for removal: This API element is subject to removal in a future version.private final PoseDeprecated, for removal: This API element is subject to removal in a future version.private final EntityDimensionsDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionEyeHeight(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 TypeMethodDescriptionfloatDeprecated, for removal: This API element is subject to removal in a future version.floatDeprecated, 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.voidsetNewEyeHeight(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
getEntityMethods 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.
-