java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.render.ContraptionMatrices

public class ContraptionMatrices extends Object

ContraptionMatrices must be cleared and setup per-contraption per-frame

  • Constructor Details

    • ContraptionMatrices

      public ContraptionMatrices()
  • Method Details

    • setup

      public void setup(com.mojang.blaze3d.vertex.PoseStack viewProjection, AbstractContraptionEntity entity)
    • clear

      public void clear()
    • getModelViewProjection

      public com.mojang.blaze3d.vertex.PoseStack getModelViewProjection()
    • getViewProjection

      public com.mojang.blaze3d.vertex.PoseStack getViewProjection()
    • getModel

      public com.mojang.blaze3d.vertex.PoseStack getModel()
    • getWorld

      public com.mojang.math.Matrix4f getWorld()
    • getLight

      public com.mojang.math.Matrix4f getLight()
    • isReady

      public boolean isReady()
    • transform

      public static void transform(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.PoseStack transform)
    • translateToEntity

      public static void translateToEntity(com.mojang.math.Matrix4f matrix, net.minecraft.world.entity.Entity entity, float partialTicks)
    • clearStack

      public static void clearStack(com.mojang.blaze3d.vertex.PoseStack ms)