Class CanWalkOnFluidEvent
java.lang.Object
meteordevelopment.meteorclient.events.entity.player.CanWalkOnFluidEvent
As of writing, using any method that gets the players pose within this event will cause a crash.
Getting the pose calls EntityMixin.modifyGetPose(net.minecraft.entity.EntityPose),
which calls PlayerEntity.canChangeIntoPose(net.minecraft.entity.EntityPose), which
calculates whether there is enough space to fit your bounding box if you change into that pose. This method ends up
calling LivingEntity.canWalkOnFluid(net.minecraft.fluid.FluidState), causing this event to fire
again and leading to a stack overflow crash. Introduced in
this pull request
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CanWalkOnFluidEventget(net.minecraft.fluid.FluidState fluid)
-
Field Details
-
fluidState
public net.minecraft.fluid.FluidState fluidState -
walkOnFluid
public boolean walkOnFluid
-
-
Constructor Details
-
CanWalkOnFluidEvent
public CanWalkOnFluidEvent()
-
-
Method Details
-
get
-