Class TransformedModel

java.lang.Object
dan200.computercraft.api.client.TransformedModel

public final class TransformedModel extends Object
A model to render, combined with a transformation matrix to apply.
  • Constructor Summary

    Constructors
    Constructor
    Description
    TransformedModel(net.minecraft.client.resources.model.BakedModel model)
     
    TransformedModel(net.minecraft.client.resources.model.BakedModel model, com.mojang.math.Transformation matrix)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.math.Transformation
     
    net.minecraft.client.resources.model.BakedModel
     
    of(net.minecraft.client.resources.model.ModelResourceLocation location)
     
    of(net.minecraft.resources.ResourceLocation location)
     
    of(net.minecraft.world.item.ItemStack item, com.mojang.math.Transformation transform)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TransformedModel

      public TransformedModel(net.minecraft.client.resources.model.BakedModel model, com.mojang.math.Transformation matrix)
    • TransformedModel

      public TransformedModel(net.minecraft.client.resources.model.BakedModel model)
  • Method Details

    • of

      public static TransformedModel of(net.minecraft.client.resources.model.ModelResourceLocation location)
    • of

      public static TransformedModel of(net.minecraft.resources.ResourceLocation location)
    • of

      public static TransformedModel of(net.minecraft.world.item.ItemStack item, com.mojang.math.Transformation transform)
    • getModel

      public net.minecraft.client.resources.model.BakedModel getModel()
    • getMatrix

      public com.mojang.math.Transformation getMatrix()