public abstract class ValueBoxTransform
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ValueBoxTransform.Dual |
static class |
ValueBoxTransform.Sided |
| Modifier and Type | Field and Description |
|---|---|
protected float |
scale |
| Constructor and Description |
|---|
ValueBoxTransform() |
| Modifier and Type | Method and Description |
|---|---|
protected float |
getFontScale() |
protected abstract net.minecraft.util.math.vector.Vector3d |
getLocalOffset(net.minecraft.block.BlockState state) |
protected float |
getScale() |
protected abstract void |
rotate(net.minecraft.block.BlockState state,
com.mojang.blaze3d.matrix.MatrixStack ms) |
protected net.minecraft.util.math.vector.Vector3d |
rotateHorizontally(net.minecraft.block.BlockState state,
net.minecraft.util.math.vector.Vector3d vec) |
boolean |
shouldRender(net.minecraft.block.BlockState state) |
boolean |
testHit(net.minecraft.block.BlockState state,
net.minecraft.util.math.vector.Vector3d localHit) |
void |
transform(net.minecraft.block.BlockState state,
com.mojang.blaze3d.matrix.MatrixStack ms) |
protected abstract net.minecraft.util.math.vector.Vector3d getLocalOffset(net.minecraft.block.BlockState state)
protected abstract void rotate(net.minecraft.block.BlockState state,
com.mojang.blaze3d.matrix.MatrixStack ms)
public boolean testHit(net.minecraft.block.BlockState state,
net.minecraft.util.math.vector.Vector3d localHit)
public void transform(net.minecraft.block.BlockState state,
com.mojang.blaze3d.matrix.MatrixStack ms)
public boolean shouldRender(net.minecraft.block.BlockState state)
protected net.minecraft.util.math.vector.Vector3d rotateHorizontally(net.minecraft.block.BlockState state,
net.minecraft.util.math.vector.Vector3d vec)
protected float getScale()
protected float getFontScale()