Class EncasedAssemblageCTBehaviour
java.lang.Object
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour.Base
com.simibubi.create.content.decoration.encasing.EncasedCTBehaviour
petrolpark.mc.petrolsparts.content.kinetics.assemblage.EncasedAssemblageCTBehaviour
public class EncasedAssemblageCTBehaviour
extends com.simibubi.create.content.decoration.encasing.EncasedCTBehaviour
Largely copied from
EncasedCogCTBehaviour-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour.Base, com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour.ContextRequirement, com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour.CTContext -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EncasedAssemblageCTBehaviourstatic final EncasedAssemblageCTBehaviourprotected final net.createmod.catnip.data.Couple<com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry> protected final com.simibubi.create.foundation.block.connected.CTSpriteShiftEntryprotected final net.createmod.catnip.data.Couple<com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry> -
Constructor Summary
ConstructorsConstructorDescriptionEncasedAssemblageCTBehaviour(com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry endShift, com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry closedSideVerticalShift, com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry closedSideHorizontalShift, com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry openSideVerticalShift, com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry openSideHorizontalShift) -
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) com.simibubi.create.foundation.block.connected.CTSpriteShiftEntrycom.simibubi.create.foundation.block.connected.CTSpriteShiftEntrygetShift(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction, 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, getCTBlockState, getRightDirection, getShift, getUpDirection, isBeingBlocked
-
Field Details
-
ANDESITE
-
BRASS
-
endShift
protected final com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry endShift -
closedSideShifts
protected final net.createmod.catnip.data.Couple<com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry> closedSideShifts -
openSideShifts
protected final net.createmod.catnip.data.Couple<com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry> openSideShifts
-
-
Constructor Details
-
EncasedAssemblageCTBehaviour
public EncasedAssemblageCTBehaviour(com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry endShift, com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry closedSideVerticalShift, com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry closedSideHorizontalShift, com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry openSideVerticalShift, com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry openSideHorizontalShift)
-
-
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 classcom.simibubi.create.content.decoration.encasing.EncasedCTBehaviour
-
reverseUVs
protected boolean reverseUVs(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) - Overrides:
reverseUVsin classcom.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
-
reverseUVsVertically
protected boolean reverseUVsVertically(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) - Overrides:
reverseUVsVerticallyin classcom.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
-
reverseUVsHorizontally
protected boolean reverseUVsHorizontally(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) - Overrides:
reverseUVsHorizontallyin classcom.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
-
getShift
public com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry getShift(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction, @Nullable net.minecraft.client.renderer.texture.TextureAtlasSprite sprite) - Overrides:
getShiftin classcom.simibubi.create.content.decoration.encasing.EncasedCTBehaviour
-
getEndShift
public com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry getEndShift()
-