public class SchematicTransformation
extends java.lang.Object
| Constructor and Description |
|---|
SchematicTransformation() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyGLTransformations(com.mojang.blaze3d.matrix.MatrixStack ms) |
void |
flip(net.minecraft.util.Direction.Axis axis) |
net.minecraft.util.math.vector.Vector3d |
fromAnchor(net.minecraft.util.math.BlockPos pos) |
net.minecraft.util.math.BlockPos |
getAnchor() |
float |
getCurrentRotation() |
int |
getMirrorModifier(net.minecraft.util.Direction.Axis axis) |
net.minecraft.util.math.vector.Vector3d |
getRotationOffset(boolean ignoreMirrors) |
int |
getRotationTarget() |
InterpolatedChasingValue |
getScaleFB() |
InterpolatedChasingValue |
getScaleLR() |
void |
init(net.minecraft.util.math.BlockPos anchor,
net.minecraft.world.gen.feature.template.PlacementSettings settings,
net.minecraft.util.math.AxisAlignedBB bounds) |
boolean |
isFlipped() |
void |
move(float xIn,
float yIn,
float zIn) |
void |
moveTo(net.minecraft.util.math.BlockPos pos) |
void |
moveTo(float xIn,
float yIn,
float zIn) |
void |
rotate90(boolean clockwise) |
void |
startAt(net.minecraft.util.math.BlockPos pos) |
void |
tick() |
net.minecraft.util.math.vector.Vector3d |
toLocalSpace(net.minecraft.util.math.vector.Vector3d vec) |
net.minecraft.world.gen.feature.template.PlacementSettings |
toSettings() |
public void init(net.minecraft.util.math.BlockPos anchor,
net.minecraft.world.gen.feature.template.PlacementSettings settings,
net.minecraft.util.math.AxisAlignedBB bounds)
public void applyGLTransformations(com.mojang.blaze3d.matrix.MatrixStack ms)
public boolean isFlipped()
public net.minecraft.util.math.vector.Vector3d getRotationOffset(boolean ignoreMirrors)
public net.minecraft.util.math.vector.Vector3d toLocalSpace(net.minecraft.util.math.vector.Vector3d vec)
public net.minecraft.world.gen.feature.template.PlacementSettings toSettings()
public net.minecraft.util.math.BlockPos getAnchor()
public net.minecraft.util.math.vector.Vector3d fromAnchor(net.minecraft.util.math.BlockPos pos)
public int getRotationTarget()
public int getMirrorModifier(net.minecraft.util.Direction.Axis axis)
public float getCurrentRotation()
public void tick()
public void flip(net.minecraft.util.Direction.Axis axis)
public void rotate90(boolean clockwise)
public void move(float xIn,
float yIn,
float zIn)
public void startAt(net.minecraft.util.math.BlockPos pos)
public void moveTo(net.minecraft.util.math.BlockPos pos)
public void moveTo(float xIn,
float yIn,
float zIn)
public InterpolatedChasingValue getScaleFB()
public InterpolatedChasingValue getScaleLR()