Class JumpVerification
java.lang.Object
fr.rodofire.ewc.entity.trajectory.JumpVerification
Class to verify that an entity is able to jump without any collision.
It is recommended to only use one object for every verification done for better performance
-
Constructor Summary
ConstructorsConstructorDescriptionJumpVerification(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos endPos, net.minecraft.world.phys.Vec3 initial, int totalTick, List<net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>> allowed) JumpVerification(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos endPos, net.minecraft.world.phys.Vec3 initial, int totalTick, List<net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>> allowed, Set<net.minecraft.core.BlockPos> passing, Set<net.minecraft.core.BlockPos> verified) -
Method Summary
-
Constructor Details
-
JumpVerification
public JumpVerification(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos endPos, net.minecraft.world.phys.Vec3 initial, int totalTick, List<net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>> allowed) -
JumpVerification
public JumpVerification(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos endPos, net.minecraft.world.phys.Vec3 initial, int totalTick, List<net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>> allowed, Set<net.minecraft.core.BlockPos> passing, Set<net.minecraft.core.BlockPos> verified)
-
-
Method Details
-
verify
public boolean verify()
-