Class JumpVerification
java.lang.Object
net.rodofire.easierworldcreator.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.entity.Entity entity, net.minecraft.util.math.BlockPos endPos, net.minecraft.util.math.Vec3d initial, int totalTick, List<net.minecraft.registry.tag.TagKey<net.minecraft.block.Block>> allowed) JumpVerification(net.minecraft.entity.Entity entity, net.minecraft.util.math.BlockPos endPos, net.minecraft.util.math.Vec3d initial, int totalTick, List<net.minecraft.registry.tag.TagKey<net.minecraft.block.Block>> allowed, Set<net.minecraft.util.math.BlockPos> passing, Set<net.minecraft.util.math.BlockPos> verified) -
Method Summary
-
Constructor Details
-
JumpVerification
public JumpVerification(net.minecraft.entity.Entity entity, net.minecraft.util.math.BlockPos endPos, net.minecraft.util.math.Vec3d initial, int totalTick, List<net.minecraft.registry.tag.TagKey<net.minecraft.block.Block>> allowed) -
JumpVerification
public JumpVerification(net.minecraft.entity.Entity entity, net.minecraft.util.math.BlockPos endPos, net.minecraft.util.math.Vec3d initial, int totalTick, List<net.minecraft.registry.tag.TagKey<net.minecraft.block.Block>> allowed, Set<net.minecraft.util.math.BlockPos> passing, Set<net.minecraft.util.math.BlockPos> verified)
-
-
Method Details
-
verify
public boolean verify()
-