Class VaultCTBehaviour
java.lang.Object
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
com.simibubi.create.content.logistics.block.vault.VaultCTBehaviour
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
ConnectedTextureBehaviour.CTContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanconnectsTo(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)Methods inherited from class com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
buildContext, connectsTo, isBeingBlocked, reverseUVs, reverseUVsHorizontally, reverseUVsVertically
-
Constructor Details
-
VaultCTBehaviour
public VaultCTBehaviour()
-
-
Method Details
-
get
public CTSpriteShiftEntry get(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction)- Specified by:
getin 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
-
buildContextForOccludedDirections
public boolean buildContextForOccludedDirections()- Overrides:
buildContextForOccludedDirectionsin classConnectedTextureBehaviour
-
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
-