Class CrafterCTBehaviour
java.lang.Object
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
com.simibubi.create.content.contraptions.components.crafter.CrafterCTBehaviour
-
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 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) get(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction) protected booleanreverseUVs(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction) Methods inherited from class com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
buildContext, buildContextForOccludedDirections, connectsTo, getRightDirection, getUpDirection, isBeingBlocked, reverseUVsHorizontally, reverseUVsVertically
-
Constructor Details
-
CrafterCTBehaviour
public CrafterCTBehaviour()
-
-
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) - Overrides:
connectsToin classConnectedTextureBehaviour
-
reverseUVs
protected boolean reverseUVs(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction) - Overrides:
reverseUVsin classConnectedTextureBehaviour
-
get
public CTSpriteShiftEntry get(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction) - Specified by:
getin classConnectedTextureBehaviour
-