Class EncasedCogCTBehaviour
java.lang.Object
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour.Base
com.simibubi.create.content.contraptions.relays.encased.EncasedCTBehaviour
com.simibubi.create.content.contraptions.relays.encased.EncasedCogCTBehaviour
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
ConnectedTextureBehaviour.Base, ConnectedTextureBehaviour.ContextRequirement, ConnectedTextureBehaviour.CTContext -
Constructor Summary
ConstructorsConstructorDescriptionEncasedCogCTBehaviour(CTSpriteShiftEntry shift, Couple<CTSpriteShiftEntry> sideShifts) -
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) getShift(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction, @Nullable net.minecraft.client.renderer.texture.TextureAtlasSprite sprite) protected booleanreverseUVs(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) protected booleanreverseUVsHorizontally(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) protected booleanreverseUVsVertically(net.minecraft.world.level.block.state.BlockState state, 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, buildContextForOccludedDirections, connectsTo, getRightDirection, getUpDirection, isBeingBlocked
-
Constructor Details
-
EncasedCogCTBehaviour
-
EncasedCogCTBehaviour
-
-
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 classEncasedCTBehaviour
-
reverseUVs
protected boolean reverseUVs(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) - Overrides:
reverseUVsin classConnectedTextureBehaviour
-
reverseUVsVertically
protected boolean reverseUVsVertically(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) - Overrides:
reverseUVsVerticallyin classConnectedTextureBehaviour
-
reverseUVsHorizontally
protected boolean reverseUVsHorizontally(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) - Overrides:
reverseUVsHorizontallyin 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 classEncasedCTBehaviour
-