Class ModelPart.Cuboid

java.lang.Object
net.minecraft.client.model.ModelPart.Cuboid
Enclosing class:
ModelPart

@Environment(CLIENT) public static class ModelPart.Cuboid extends Object
Mappings:
Namespace Name
official esv$a
intermediary net/minecraft/class_630$class_628
named net/minecraft/client/model/ModelPart$Cuboid
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final float
     
    final float
     
    final float
     
    final float
     
    final float
     
    final float
     
    private final ModelPart.Quad[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Cuboid(int u, int v, float x, float y, float z, float sizeX, float sizeY, float sizeZ, float extraX, float extraY, float extraZ, boolean mirror, float textureWidth, float textureHeight)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    renderCuboid(MatrixStack.Entry entry, VertexConsumer vertexConsumer, int light, int overlay, float red, float green, float blue, float alpha)
     

    Methods inherited from class java.lang.Object

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

    • sides

      private final ModelPart.Quad[] sides
      Mappings:
      Namespace Name Mixin selector
      official g Lesv$a;g:[Lesv$b;
      intermediary field_3649 Lnet/minecraft/class_630$class_628;field_3649:[Lnet/minecraft/class_630$class_593;
      named sides Lnet/minecraft/client/model/ModelPart$Cuboid;sides:[Lnet/minecraft/client/model/ModelPart$Quad;
    • minX

      public final float minX
      Mappings:
      Namespace Name Mixin selector
      official a Lesv$a;a:F
      intermediary field_3645 Lnet/minecraft/class_630$class_628;field_3645:F
      named minX Lnet/minecraft/client/model/ModelPart$Cuboid;minX:F
    • minY

      public final float minY
      Mappings:
      Namespace Name Mixin selector
      official b Lesv$a;b:F
      intermediary field_3644 Lnet/minecraft/class_630$class_628;field_3644:F
      named minY Lnet/minecraft/client/model/ModelPart$Cuboid;minY:F
    • minZ

      public final float minZ
      Mappings:
      Namespace Name Mixin selector
      official c Lesv$a;c:F
      intermediary field_3643 Lnet/minecraft/class_630$class_628;field_3643:F
      named minZ Lnet/minecraft/client/model/ModelPart$Cuboid;minZ:F
    • maxX

      public final float maxX
      Mappings:
      Namespace Name Mixin selector
      official d Lesv$a;d:F
      intermediary field_3648 Lnet/minecraft/class_630$class_628;field_3648:F
      named maxX Lnet/minecraft/client/model/ModelPart$Cuboid;maxX:F
    • maxY

      public final float maxY
      Mappings:
      Namespace Name Mixin selector
      official e Lesv$a;e:F
      intermediary field_3647 Lnet/minecraft/class_630$class_628;field_3647:F
      named maxY Lnet/minecraft/client/model/ModelPart$Cuboid;maxY:F
    • maxZ

      public final float maxZ
      Mappings:
      Namespace Name Mixin selector
      official f Lesv$a;f:F
      intermediary field_3646 Lnet/minecraft/class_630$class_628;field_3646:F
      named maxZ Lnet/minecraft/client/model/ModelPart$Cuboid;maxZ:F
  • Constructor Details

    • Cuboid

      public Cuboid(int u, int v, float x, float y, float z, float sizeX, float sizeY, float sizeZ, float extraX, float extraY, float extraZ, boolean mirror, float textureWidth, float textureHeight)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lesv$a;<init>(IIFFFFFFFFFZFF)V
      intermediary <init> Lnet/minecraft/class_630$class_628;<init>(IIFFFFFFFFFZFF)V
      named <init> Lnet/minecraft/client/model/ModelPart$Cuboid;<init>(IIFFFFFFFFFZFF)V
  • Method Details

    • renderCuboid

      public void renderCuboid(MatrixStack.Entry entry, VertexConsumer vertexConsumer, int light, int overlay, float red, float green, float blue, float alpha)
      Mappings:
      Namespace Name Mixin selector
      official a Lesv$a;a(Ldzt$a;Ldzx;IIFFFF)V
      intermediary method_32089 Lnet/minecraft/class_630$class_628;method_32089(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;IIFFFF)V
      named renderCuboid Lnet/minecraft/client/model/ModelPart$Cuboid;renderCuboid(Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V