Class ValueBoxTransform.Sided
java.lang.Object
com.simibubi.create.foundation.tileEntity.behaviour.ValueBoxTransform
com.simibubi.create.foundation.tileEntity.behaviour.ValueBoxTransform.Sided
- Direct Known Subclasses:
BrassTunnelFilterSlot,CenteredSideValueBoxTransform,FunnelFilterSlotPositioning,SmartChuteFilterSlotPositioning,SteamEngineValueBox
- Enclosing class:
- ValueBoxTransform
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.foundation.tileEntity.behaviour.ValueBoxTransform
ValueBoxTransform.Dual, ValueBoxTransform.Sided -
Field Summary
FieldsFields inherited from class com.simibubi.create.foundation.tileEntity.behaviour.ValueBoxTransform
scale -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromSide(net.minecraft.core.Direction direction) protected net.minecraft.world.phys.Vec3getLocalOffset(net.minecraft.world.level.block.state.BlockState state) net.minecraft.core.DirectiongetSide()protected abstract net.minecraft.world.phys.Vec3protected booleanisSideActive(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction) protected voidrotate(net.minecraft.world.level.block.state.BlockState state, com.mojang.blaze3d.vertex.PoseStack ms) booleanshouldRender(net.minecraft.world.level.block.state.BlockState state) booleantestHit(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 localHit) Methods inherited from class com.simibubi.create.foundation.tileEntity.behaviour.ValueBoxTransform
getFontScale, getScale, rotateHorizontally, transform
-
Field Details
-
direction
protected net.minecraft.core.Direction direction
-
-
Constructor Details
-
Sided
public Sided()
-
-
Method Details
-
fromSide
-
getLocalOffset
protected net.minecraft.world.phys.Vec3 getLocalOffset(net.minecraft.world.level.block.state.BlockState state) - Specified by:
getLocalOffsetin classValueBoxTransform
-
getSouthLocation
protected abstract net.minecraft.world.phys.Vec3 getSouthLocation() -
rotate
protected void rotate(net.minecraft.world.level.block.state.BlockState state, com.mojang.blaze3d.vertex.PoseStack ms) - Specified by:
rotatein classValueBoxTransform
-
shouldRender
public boolean shouldRender(net.minecraft.world.level.block.state.BlockState state) - Overrides:
shouldRenderin classValueBoxTransform
-
testHit
public boolean testHit(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 localHit) - Overrides:
testHitin classValueBoxTransform
-
isSideActive
protected boolean isSideActive(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction) -
getSide
public net.minecraft.core.Direction getSide()
-