Class WeatheredIronWindowCTBehaviour
java.lang.Object
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour.Base
com.simibubi.create.content.decoration.palettes.WeatheredIronWindowCTBehaviour
-
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 TypeMethodDescription@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) @Nullable CTSpriteShiftEntrygetShift(net.minecraft.world.level.block.state.BlockState state, net.minecraft.util.RandomSource rand, net.minecraft.core.Direction direction, @NotNull net.minecraft.client.renderer.texture.TextureAtlasSprite sprite) Methods inherited from class com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
buildContext, buildContextForOccludedDirections, connectsTo, connectsTo, getCTBlockState, getRightDirection, getUpDirection, isBeingBlocked, reverseUVs, reverseUVsHorizontally, reverseUVsVertically
-
Constructor Details
-
WeatheredIronWindowCTBehaviour
public WeatheredIronWindowCTBehaviour()
-
-
Method Details
-
getShift
@Nullable public @Nullable CTSpriteShiftEntry getShift(net.minecraft.world.level.block.state.BlockState state, net.minecraft.util.RandomSource rand, net.minecraft.core.Direction direction, @NotNull @NotNull net.minecraft.client.renderer.texture.TextureAtlasSprite sprite) - Overrides:
getShiftin classConnectedTextureBehaviour
-
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
-
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
-