public abstract static class ValueBoxTransform.Sided extends ValueBoxTransform
ValueBoxTransform.Dual, ValueBoxTransform.Sided| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.util.Direction |
direction |
scale| Constructor and Description |
|---|
Sided() |
| Modifier and Type | Method and Description |
|---|---|
ValueBoxTransform.Sided |
fromSide(net.minecraft.util.Direction direction) |
protected net.minecraft.util.math.vector.Vector3d |
getLocalOffset(net.minecraft.block.BlockState state) |
net.minecraft.util.Direction |
getSide() |
protected abstract net.minecraft.util.math.vector.Vector3d |
getSouthLocation() |
protected boolean |
isSideActive(net.minecraft.block.BlockState state,
net.minecraft.util.Direction direction) |
protected void |
rotate(net.minecraft.block.BlockState state,
com.mojang.blaze3d.matrix.MatrixStack ms) |
boolean |
shouldRender(net.minecraft.block.BlockState state) |
boolean |
testHit(net.minecraft.block.BlockState state,
net.minecraft.util.math.vector.Vector3d localHit) |
getFontScale, getScale, rotateHorizontally, transformpublic ValueBoxTransform.Sided fromSide(net.minecraft.util.Direction direction)
protected net.minecraft.util.math.vector.Vector3d getLocalOffset(net.minecraft.block.BlockState state)
getLocalOffset in class ValueBoxTransformprotected abstract net.minecraft.util.math.vector.Vector3d getSouthLocation()
protected void rotate(net.minecraft.block.BlockState state,
com.mojang.blaze3d.matrix.MatrixStack ms)
rotate in class ValueBoxTransformpublic boolean shouldRender(net.minecraft.block.BlockState state)
shouldRender in class ValueBoxTransformpublic boolean testHit(net.minecraft.block.BlockState state,
net.minecraft.util.math.vector.Vector3d localHit)
testHit in class ValueBoxTransformprotected boolean isSideActive(net.minecraft.block.BlockState state,
net.minecraft.util.Direction direction)
public net.minecraft.util.Direction getSide()