Class JumpVerification

java.lang.Object
net.rodofire.easierworldcreator.entity.trajectory.JumpVerification

public class JumpVerification extends Object
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

    Constructors
    Constructor
    Description
    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(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

    Modifier and Type
    Method
    Description
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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()