Class SchematicTransformation
java.lang.Object
com.simibubi.create.content.schematics.client.SchematicTransformation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyGLTransformations(com.mojang.blaze3d.vertex.PoseStack ms) voidflip(net.minecraft.core.Direction.Axis axis) net.minecraft.world.phys.Vec3fromAnchor(net.minecraft.core.BlockPos pos) net.minecraft.core.BlockPosfloatintgetMirrorModifier(net.minecraft.core.Direction.Axis axis) net.minecraft.world.phys.Vec3getRotationOffset(boolean ignoreMirrors) intvoidinit(net.minecraft.core.BlockPos anchor, net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings settings, net.minecraft.world.phys.AABB bounds) booleanvoidmove(float xIn, float yIn, float zIn) voidmoveTo(float xIn, float yIn, float zIn) voidmoveTo(net.minecraft.core.BlockPos pos) voidrotate90(boolean clockwise) voidstartAt(net.minecraft.core.BlockPos pos) voidtick()net.minecraft.world.phys.Vec3toLocalSpace(net.minecraft.world.phys.Vec3 vec) net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings
-
Constructor Details
-
SchematicTransformation
public SchematicTransformation()
-
-
Method Details
-
init
public void init(net.minecraft.core.BlockPos anchor, net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings settings, net.minecraft.world.phys.AABB bounds) -
applyGLTransformations
public void applyGLTransformations(com.mojang.blaze3d.vertex.PoseStack ms) -
isFlipped
public boolean isFlipped() -
getRotationOffset
public net.minecraft.world.phys.Vec3 getRotationOffset(boolean ignoreMirrors) -
toLocalSpace
public net.minecraft.world.phys.Vec3 toLocalSpace(net.minecraft.world.phys.Vec3 vec) -
toSettings
public net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings toSettings() -
getAnchor
public net.minecraft.core.BlockPos getAnchor() -
fromAnchor
public net.minecraft.world.phys.Vec3 fromAnchor(net.minecraft.core.BlockPos pos) -
getRotationTarget
public int getRotationTarget() -
getMirrorModifier
public int getMirrorModifier(net.minecraft.core.Direction.Axis axis) -
getCurrentRotation
public float getCurrentRotation() -
tick
public void tick() -
flip
public void flip(net.minecraft.core.Direction.Axis axis) -
rotate90
public void rotate90(boolean clockwise) -
move
public void move(float xIn, float yIn, float zIn) -
startAt
public void startAt(net.minecraft.core.BlockPos pos) -
moveTo
public void moveTo(net.minecraft.core.BlockPos pos) -
moveTo
public void moveTo(float xIn, float yIn, float zIn) -
getScaleFB
-
getScaleLR
-