public static class LinearChassisBlock.ChassisCTBehaviour extends ConnectedTextureBehaviour
ConnectedTextureBehaviour.CTContext| Constructor and Description |
|---|
ChassisCTBehaviour() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
connectsTo(net.minecraft.block.BlockState state,
net.minecraft.block.BlockState other,
net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos otherPos,
net.minecraft.util.Direction face) |
CTSpriteShiftEntry |
get(net.minecraft.block.BlockState state,
net.minecraft.util.Direction direction) |
protected net.minecraft.util.Direction |
getRightDirection(net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.util.Direction face) |
protected net.minecraft.util.Direction |
getUpDirection(net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.util.Direction face) |
boolean |
reverseUVs(net.minecraft.block.BlockState state,
net.minecraft.util.Direction face) |
protected boolean |
reverseUVsHorizontally(net.minecraft.block.BlockState state,
net.minecraft.util.Direction face) |
protected boolean |
reverseUVsVertically(net.minecraft.block.BlockState state,
net.minecraft.util.Direction face) |
buildContext, buildContextForOccludedDirections, isBeingBlockedpublic CTSpriteShiftEntry get(net.minecraft.block.BlockState state, net.minecraft.util.Direction direction)
get in class ConnectedTextureBehaviourprotected net.minecraft.util.Direction getUpDirection(net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.util.Direction face)
getUpDirection in class ConnectedTextureBehaviourprotected net.minecraft.util.Direction getRightDirection(net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.util.Direction face)
getRightDirection in class ConnectedTextureBehaviourprotected boolean reverseUVsHorizontally(net.minecraft.block.BlockState state,
net.minecraft.util.Direction face)
reverseUVsHorizontally in class ConnectedTextureBehaviourprotected boolean reverseUVsVertically(net.minecraft.block.BlockState state,
net.minecraft.util.Direction face)
reverseUVsVertically in class ConnectedTextureBehaviourpublic boolean reverseUVs(net.minecraft.block.BlockState state,
net.minecraft.util.Direction face)
reverseUVs in class ConnectedTextureBehaviourpublic boolean connectsTo(net.minecraft.block.BlockState state,
net.minecraft.block.BlockState other,
net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos otherPos,
net.minecraft.util.Direction face)
connectsTo in class ConnectedTextureBehaviour