Package com.hbm_m.client.render
Class LegacyAnimator
java.lang.Object
com.hbm_m.client.render.LegacyAnimator
- All Implemented Interfaces:
IDoorAnimator
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLegacyAnimator(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay) -
Method Summary
Modifier and TypeMethodDescriptionstatic LegacyAnimatorcreate(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int packedLight, int packedOverlay) org.joml.Matrix4fvoidpop()voidpush()voidrenderPart(net.minecraft.client.resources.model.BakedModel modelPart) Deprecated.voidrenderQuads(List<net.minecraft.client.renderer.block.model.BakedQuad> quads) voidrotate(float degrees, float x, float y, float z) voidsetupBlockTransform(net.minecraft.core.Direction facing) voidsetupChemicalPlantBlockTransform(net.minecraft.core.Direction facing) Химзавод: один источник истины - canonical chunk-угол изMultipartFacingTransforms.chemicalPlantCanonicalRotationY(net.minecraft.core.Direction), переведённый в PoseStack-конвенцию.voidtranslate(double x, double y, double z)
-
Field Details
-
poseStack
protected final com.mojang.blaze3d.vertex.PoseStack poseStack
-
-
Constructor Details
-
LegacyAnimator
public LegacyAnimator(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay)
-
-
Method Details
-
create
public static LegacyAnimator create(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int packedLight, int packedOverlay) -
push
public void push() -
pop
public void pop() -
translate
public void translate(double x, double y, double z) - Specified by:
translatein interfaceIDoorAnimator
-
rotate
public void rotate(float degrees, float x, float y, float z) - Specified by:
rotatein interfaceIDoorAnimator
-
setupBlockTransform
public void setupBlockTransform(net.minecraft.core.Direction facing) -
setupChemicalPlantBlockTransform
public void setupChemicalPlantBlockTransform(net.minecraft.core.Direction facing) Химзавод: один источник истины - canonical chunk-угол изMultipartFacingTransforms.chemicalPlantCanonicalRotationY(net.minecraft.core.Direction), переведённый в PoseStack-конвенцию. -
renderQuads
-
renderPart
Deprecated. -
currentMatrix
public org.joml.Matrix4f currentMatrix()
-