Class ContraptionCollider
java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.ContraptionCollider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancollideBlocks(AbstractContraptionEntity contraptionEntity) static net.minecraft.world.phys.Vec3getWorldToLocalTranslation(net.minecraft.world.entity.Entity entity, AbstractContraptionEntity contraptionEntity) static net.minecraft.world.phys.Vec3getWorldToLocalTranslation(net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.Vec3 anchorVec, AbstractContraptionEntity.ContraptionRotationState rotation) static net.minecraft.world.phys.Vec3getWorldToLocalTranslation(net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.Vec3 anchorVec, Matrix3d rotationMatrix, float yawOffset) static net.minecraft.world.phys.Vec3getWorldToLocalTranslation(net.minecraft.world.phys.Vec3 entity, AbstractContraptionEntity contraptionEntity) static net.minecraft.world.phys.Vec3getWorldToLocalTranslation(net.minecraft.world.phys.Vec3 inPos, net.minecraft.world.phys.Vec3 anchorVec, AbstractContraptionEntity.ContraptionRotationState rotation) static net.minecraft.world.phys.Vec3getWorldToLocalTranslation(net.minecraft.world.phys.Vec3 inPos, net.minecraft.world.phys.Vec3 anchorVec, Matrix3d rotationMatrix, float yawOffset) static booleanisCollidingWithWorld(net.minecraft.world.level.Level world, TranslatingContraption contraption, net.minecraft.core.BlockPos anchor, net.minecraft.core.Direction movementDirection)
-
Constructor Details
-
ContraptionCollider
public ContraptionCollider()
-
-
Method Details
-
getWorldToLocalTranslation
public static net.minecraft.world.phys.Vec3 getWorldToLocalTranslation(net.minecraft.world.entity.Entity entity, AbstractContraptionEntity contraptionEntity) -
getWorldToLocalTranslation
public static net.minecraft.world.phys.Vec3 getWorldToLocalTranslation(net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.Vec3 anchorVec, AbstractContraptionEntity.ContraptionRotationState rotation) -
getWorldToLocalTranslation
public static net.minecraft.world.phys.Vec3 getWorldToLocalTranslation(net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.Vec3 anchorVec, Matrix3d rotationMatrix, float yawOffset) -
getWorldToLocalTranslation
public static net.minecraft.world.phys.Vec3 getWorldToLocalTranslation(net.minecraft.world.phys.Vec3 entity, AbstractContraptionEntity contraptionEntity) -
getWorldToLocalTranslation
public static net.minecraft.world.phys.Vec3 getWorldToLocalTranslation(net.minecraft.world.phys.Vec3 inPos, net.minecraft.world.phys.Vec3 anchorVec, AbstractContraptionEntity.ContraptionRotationState rotation) -
getWorldToLocalTranslation
public static net.minecraft.world.phys.Vec3 getWorldToLocalTranslation(net.minecraft.world.phys.Vec3 inPos, net.minecraft.world.phys.Vec3 anchorVec, Matrix3d rotationMatrix, float yawOffset) -
collideBlocks
-
isCollidingWithWorld
public static boolean isCollidingWithWorld(net.minecraft.world.level.Level world, TranslatingContraption contraption, net.minecraft.core.BlockPos anchor, net.minecraft.core.Direction movementDirection)
-