Class RotatedPillarCTBehaviour
java.lang.Object
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
com.simibubi.create.foundation.block.connected.HorizontalCTBehaviour
com.simibubi.create.foundation.block.connected.RotatedPillarCTBehaviour
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
ConnectedTextureBehaviour.CTContext -
Constructor Summary
ConstructorsConstructorDescriptionRotatedPillarCTBehaviour(CTSpriteShiftEntry layerShift, CTSpriteShiftEntry topShift) -
Method Summary
Modifier and TypeMethodDescriptionbooleanconnectsTo(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState other, net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.core.BlockPos otherPos, net.minecraft.core.Direction face) get(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction) protected net.minecraft.core.DirectiongetRightDirection(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) protected net.minecraft.core.DirectiongetUpDirection(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) protected booleanreverseUVs(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) protected booleanreverseUVsHorizontally(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) protected booleanreverseUVsVertically(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) Methods inherited from class com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
buildContext, buildContextForOccludedDirections, connectsTo, isBeingBlocked
-
Constructor Details
-
RotatedPillarCTBehaviour
-
-
Method Details
-
connectsTo
public boolean connectsTo(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState other, net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.core.BlockPos otherPos, net.minecraft.core.Direction face) - Overrides:
connectsToin classConnectedTextureBehaviour
-
reverseUVs
protected boolean reverseUVs(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) - Overrides:
reverseUVsin classConnectedTextureBehaviour
-
reverseUVsHorizontally
protected boolean reverseUVsHorizontally(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) - Overrides:
reverseUVsHorizontallyin classConnectedTextureBehaviour
-
reverseUVsVertically
protected boolean reverseUVsVertically(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) - Overrides:
reverseUVsVerticallyin classConnectedTextureBehaviour
-
getUpDirection
protected net.minecraft.core.Direction getUpDirection(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) - Overrides:
getUpDirectionin classConnectedTextureBehaviour
-
getRightDirection
protected net.minecraft.core.Direction getRightDirection(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) - Overrides:
getRightDirectionin classConnectedTextureBehaviour
-
get
public CTSpriteShiftEntry get(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction) - Overrides:
getin classHorizontalCTBehaviour
-