Class LegacyAnimator

java.lang.Object
com.hbm_m.client.render.LegacyAnimator
All Implemented Interfaces:
IDoorAnimator

public class LegacyAnimator extends Object implements IDoorAnimator
  • 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:
      translate in interface IDoorAnimator
    • rotate

      public void rotate(float degrees, float x, float y, float z)
      Specified by:
      rotate in interface IDoorAnimator
    • 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

      public void renderQuads(List<net.minecraft.client.renderer.block.model.BakedQuad> quads)
    • renderPart

      @Deprecated public void renderPart(net.minecraft.client.resources.model.BakedModel modelPart)
      Deprecated.
    • currentMatrix

      public org.joml.Matrix4f currentMatrix()