Class ChainConveyorShape.ChainConveyorOBB
java.lang.Object
com.simibubi.create.content.kinetics.chainConveyor.ChainConveyorShape
com.simibubi.create.content.kinetics.chainConveyor.ChainConveyorShape.ChainConveyorOBB
- Enclosing class:
ChainConveyorShape
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.content.kinetics.chainConveyor.ChainConveyorShape
ChainConveyorShape.ChainConveyorBB, ChainConveyorShape.ChainConveyorOBB -
Constructor Summary
ConstructorsConstructorDescriptionChainConveyorOBB(net.minecraft.core.BlockPos connection, net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end) -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawOutline(net.minecraft.core.BlockPos anchor, com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer vb) floatgetChainPosition(net.minecraft.world.phys.Vec3 intersection) net.minecraft.world.phys.Vec3getVec(net.minecraft.core.BlockPos anchor, float position) net.minecraft.world.phys.Vec3intersect(net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to)
-
Constructor Details
-
ChainConveyorOBB
public ChainConveyorOBB(net.minecraft.core.BlockPos connection, net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end)
-
-
Method Details
-
intersect
public net.minecraft.world.phys.Vec3 intersect(net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to) - Specified by:
intersectin classChainConveyorShape
-
drawOutline
public void drawOutline(net.minecraft.core.BlockPos anchor, com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer vb) - Specified by:
drawOutlinein classChainConveyorShape
-
getChainPosition
public float getChainPosition(net.minecraft.world.phys.Vec3 intersection) - Specified by:
getChainPositionin classChainConveyorShape
-
getVec
public net.minecraft.world.phys.Vec3 getVec(net.minecraft.core.BlockPos anchor, float position) - Specified by:
getVecin classChainConveyorShape
-