Class RotatedPillarCTBehaviour
java.lang.Object
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour.Base
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.Base, ConnectedTextureBehaviour.ContextRequirement, ConnectedTextureBehaviour.CTContext -
Field Summary
Fields inherited from class com.simibubi.create.foundation.block.connected.HorizontalCTBehaviour
layerShift, topShift -
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, net.minecraft.core.Direction primaryOffset, net.minecraft.core.Direction secondaryOffset) 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) getShift(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite) 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 booleanisBeingBlocked(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.core.BlockPos otherPos, 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.Base
getDataTypeMethods inherited from class com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
buildContext, buildContextForOccludedDirections, connectsTo
-
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, net.minecraft.core.Direction primaryOffset, net.minecraft.core.Direction secondaryOffset) - Overrides:
connectsToin classConnectedTextureBehaviour
-
isBeingBlocked
protected boolean isBeingBlocked(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.core.BlockPos otherPos, net.minecraft.core.Direction face) - Overrides:
isBeingBlockedin 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
-
getShift
public CTSpriteShiftEntry getShift(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite) - Overrides:
getShiftin classHorizontalCTBehaviour
-