Class ValueBoxTransform
java.lang.Object
com.simibubi.create.foundation.tileEntity.behaviour.ValueBoxTransform
- Direct Known Subclasses:
BrassDiodeScrollSlot,DeployerFilterSlot,FilteredDetectorFilterSlot,SawFilterSlot,ValueBoxTransform.Dual,ValueBoxTransform.Sided
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected floatprotected abstract net.minecraft.world.phys.Vec3getLocalOffset(net.minecraft.world.level.block.state.BlockState state) protected floatgetScale()protected abstract voidrotate(net.minecraft.world.level.block.state.BlockState state, com.mojang.blaze3d.vertex.PoseStack ms) protected net.minecraft.world.phys.Vec3rotateHorizontally(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 vec) booleanshouldRender(net.minecraft.world.level.block.state.BlockState state) booleantestHit(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 localHit) voidtransform(net.minecraft.world.level.block.state.BlockState state, com.mojang.blaze3d.vertex.PoseStack ms)
-
Field Details
-
scale
protected float scale
-
-
Constructor Details
-
ValueBoxTransform
public ValueBoxTransform()
-
-
Method Details
-
getLocalOffset
protected abstract net.minecraft.world.phys.Vec3 getLocalOffset(net.minecraft.world.level.block.state.BlockState state) -
rotate
protected abstract void rotate(net.minecraft.world.level.block.state.BlockState state, com.mojang.blaze3d.vertex.PoseStack ms) -
testHit
public boolean testHit(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 localHit) -
transform
public void transform(net.minecraft.world.level.block.state.BlockState state, com.mojang.blaze3d.vertex.PoseStack ms) -
shouldRender
public boolean shouldRender(net.minecraft.world.level.block.state.BlockState state) -
rotateHorizontally
protected net.minecraft.world.phys.Vec3 rotateHorizontally(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 vec) -
getScale
protected float getScale() -
getFontScale
protected float getFontScale()
-