Class SchematicTransformation
java.lang.Object
com.simibubi.create.content.schematics.client.SchematicTransformation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTransformations(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.world.phys.Vec3 camera) voidflip(net.minecraft.core.Direction.Axis axis) net.minecraft.core.BlockPosfromAnchor(net.minecraft.core.BlockPos pos) net.minecraft.core.BlockPosfloatintgetMirrorModifier(net.minecraft.core.Direction.Axis axis) net.minecraft.world.phys.Vec3getRotationOffset(boolean ignoreMirrors) intnet.createmod.catnip.animation.LerpedFloatnet.createmod.catnip.animation.LerpedFloatvoidinit(net.minecraft.core.BlockPos anchor, net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings settings, net.minecraft.world.phys.AABB bounds) booleanvoidmove(int xIn, int yIn, int zIn) voidmoveTo(int xIn, int yIn, int 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) -
applyTransformations
public void applyTransformations(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.world.phys.Vec3 camera) -
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.core.BlockPos 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(int xIn, int yIn, int zIn) -
startAt
public void startAt(net.minecraft.core.BlockPos pos) -
moveTo
public void moveTo(net.minecraft.core.BlockPos pos) -
moveTo
public void moveTo(int xIn, int yIn, int zIn) -
getScaleFB
public net.createmod.catnip.animation.LerpedFloat getScaleFB() -
getScaleLR
public net.createmod.catnip.animation.LerpedFloat getScaleLR()
-