Class RoofBlockCTBehaviour
java.lang.Object
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour.Base
com.simibubi.create.content.decoration.RoofBlockCTBehaviour
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
ConnectedTextureBehaviour.Base, ConnectedTextureBehaviour.ContextRequirement, ConnectedTextureBehaviour.CTContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildContext(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face, ConnectedTextureBehaviour.ContextRequirement requirement) booleanprotected booleanconnects(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState other) protected booleanconnectsHigh(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState other, net.minecraft.world.level.block.state.BlockState aboveOther) booleanconnectsTo(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) @Nullable CTTypegetDataType(net.minecraft.world.level.BlockAndTintGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction) @Nullable CTSpriteShiftEntrygetShift(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction, @Nullable net.minecraft.client.renderer.texture.TextureAtlasSprite sprite) getStairMapping(net.minecraft.world.level.block.state.BlockState state) booleanisUprightStair(net.minecraft.world.level.block.state.BlockState state) Methods inherited from class com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
connectsTo, getCTBlockState, getRightDirection, getShift, getUpDirection, isBeingBlocked, reverseUVs, reverseUVsHorizontally, reverseUVsVertically
-
Constructor Details
-
RoofBlockCTBehaviour
-
-
Method Details
-
getShift
@Nullable public @Nullable CTSpriteShiftEntry getShift(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction, @Nullable @Nullable net.minecraft.client.renderer.texture.TextureAtlasSprite sprite) - Specified by:
getShiftin classConnectedTextureBehaviour.Base
-
buildContextForOccludedDirections
public boolean buildContextForOccludedDirections()- Overrides:
buildContextForOccludedDirectionsin classConnectedTextureBehaviour
-
buildContext
public ConnectedTextureBehaviour.CTContext buildContext(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face, ConnectedTextureBehaviour.ContextRequirement requirement) - Overrides:
buildContextin 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, net.minecraft.core.Direction primaryOffset, net.minecraft.core.Direction secondaryOffset) - Overrides:
connectsToin classConnectedTextureBehaviour
-
isUprightStair
public boolean isUprightStair(net.minecraft.world.level.block.state.BlockState state) -
getStairMapping
public ConnectedTextureBehaviour.CTContext getStairMapping(net.minecraft.world.level.block.state.BlockState state) -
connects
protected boolean connects(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState other) -
connectsHigh
protected boolean connectsHigh(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState other, net.minecraft.world.level.block.state.BlockState aboveOther) -
getDataType
@Nullable public @Nullable CTType getDataType(net.minecraft.world.level.BlockAndTintGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction) - Overrides:
getDataTypein classConnectedTextureBehaviour.Base
-