Class MetalScaffoldingCTBehaviour
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.content.decoration.MetalScaffoldingCTBehaviour
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
ConnectedTextureBehaviour.Base, ConnectedTextureBehaviour.ContextRequirement, ConnectedTextureBehaviour.CTContext -
Field Summary
FieldsFields inherited from class com.simibubi.create.foundation.block.connected.HorizontalCTBehaviour
layerShift, topShift -
Constructor Summary
ConstructorsConstructorDescriptionMetalScaffoldingCTBehaviour(CTSpriteShiftEntry outsideShift, CTSpriteShiftEntry insideShift, CTSpriteShiftEntry topShift) -
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) getShift(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction, @Nullable net.minecraft.client.renderer.texture.TextureAtlasSprite sprite) 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) Methods inherited from class com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour.Base
getDataTypeMethods inherited from class com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
buildContext, connectsTo, getCTBlockState, getRightDirection, getShift, getUpDirection, reverseUVs, reverseUVsHorizontally, reverseUVsVertically
-
Field Details
-
insideShift
-
-
Constructor Details
-
MetalScaffoldingCTBehaviour
public MetalScaffoldingCTBehaviour(CTSpriteShiftEntry outsideShift, CTSpriteShiftEntry insideShift, CTSpriteShiftEntry topShift)
-
-
Method Details
-
buildContextForOccludedDirections
public boolean buildContextForOccludedDirections()- Overrides:
buildContextForOccludedDirectionsin 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
-
getShift
public CTSpriteShiftEntry getShift(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction, @Nullable @Nullable net.minecraft.client.renderer.texture.TextureAtlasSprite sprite) - Overrides:
getShiftin classHorizontalCTBehaviour
-
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
-