Class VertexFormat

java.lang.Object
net.minecraft.client.render.VertexFormat

@Environment(CLIENT) public class VertexFormat extends Object
Mappings:
Namespace Name
official dso
intermediary net/minecraft/class_293
named net/minecraft/client/render/VertexFormat
  • Field Details

    • elements

      private final ImmutableList<VertexFormatElement> elements
      Mappings:
      Namespace Name Mixin selector
      official a Ldso;a:Lcom/google/common/collect/ImmutableList;
      intermediary field_1602 Lnet/minecraft/class_293;field_1602:Lcom/google/common/collect/ImmutableList;
      named elements Lnet/minecraft/client/render/VertexFormat;elements:Lcom/google/common/collect/ImmutableList;
    • elementMap

      private final ImmutableMap<String,VertexFormatElement> elementMap
      Mappings:
      Namespace Name Mixin selector
      official b Ldso;b:Lcom/google/common/collect/ImmutableMap;
      intermediary field_29340 Lnet/minecraft/class_293;field_29340:Lcom/google/common/collect/ImmutableMap;
      named elementMap Lnet/minecraft/client/render/VertexFormat;elementMap:Lcom/google/common/collect/ImmutableMap;
    • offsets

      private final IntList offsets
      Mappings:
      Namespace Name Mixin selector
      official c Ldso;c:Lit/unimi/dsi/fastutil/ints/IntList;
      intermediary field_1597 Lnet/minecraft/class_293;field_1597:Lit/unimi/dsi/fastutil/ints/IntList;
      named offsets Lnet/minecraft/client/render/VertexFormat;offsets:Lit/unimi/dsi/fastutil/ints/IntList;
    • size

      private final int size
      Mappings:
      Namespace Name Mixin selector
      official d Ldso;d:I
      intermediary field_1600 Lnet/minecraft/class_293;field_1600:I
      named size Lnet/minecraft/client/render/VertexFormat;size:I
    • vertexArray

      private int vertexArray
      Mappings:
      Namespace Name Mixin selector
      official e Ldso;e:I
      intermediary field_29341 Lnet/minecraft/class_293;field_29341:I
      named vertexArray Lnet/minecraft/client/render/VertexFormat;vertexArray:I
    • vertexBuffer

      private int vertexBuffer
      Mappings:
      Namespace Name Mixin selector
      official f Ldso;f:I
      intermediary field_29342 Lnet/minecraft/class_293;field_29342:I
      named vertexBuffer Lnet/minecraft/client/render/VertexFormat;vertexBuffer:I
    • elementBuffer

      private int elementBuffer
      Mappings:
      Namespace Name Mixin selector
      official g Ldso;g:I
      intermediary field_29343 Lnet/minecraft/class_293;field_29343:I
      named elementBuffer Lnet/minecraft/client/render/VertexFormat;elementBuffer:I
  • Constructor Details

    • VertexFormat

      public VertexFormat(ImmutableMap<String,VertexFormatElement> elementMap)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldso;<init>(Lcom/google/common/collect/ImmutableMap;)V
      intermediary <init> Lnet/minecraft/class_293;<init>(Lcom/google/common/collect/ImmutableMap;)V
      named <init> Lnet/minecraft/client/render/VertexFormat;<init>(Lcom/google/common/collect/ImmutableMap;)V
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getVertexSizeInteger

      public int getVertexSizeInteger()
      Mappings:
      Namespace Name Mixin selector
      official a Ldso;a()I
      intermediary method_1359 Lnet/minecraft/class_293;method_1359()I
      named getVertexSizeInteger Lnet/minecraft/client/render/VertexFormat;getVertexSizeInteger()I
    • getVertexSize

      public int getVertexSize()
      Mappings:
      Namespace Name Mixin selector
      official b Ldso;b()I
      intermediary method_1362 Lnet/minecraft/class_293;method_1362()I
      named getVertexSize Lnet/minecraft/client/render/VertexFormat;getVertexSize()I
    • getElements

      public ImmutableList<VertexFormatElement> getElements()
      Mappings:
      Namespace Name Mixin selector
      official c Ldso;c()Lcom/google/common/collect/ImmutableList;
      intermediary method_1357 Lnet/minecraft/class_293;method_1357()Lcom/google/common/collect/ImmutableList;
      named getElements Lnet/minecraft/client/render/VertexFormat;getElements()Lcom/google/common/collect/ImmutableList;
    • getShaderAttributes

      public ImmutableList<String> getShaderAttributes()
      Mappings:
      Namespace Name Mixin selector
      official d Ldso;d()Lcom/google/common/collect/ImmutableList;
      intermediary method_34445 Lnet/minecraft/class_293;method_34445()Lcom/google/common/collect/ImmutableList;
      named getShaderAttributes Lnet/minecraft/client/render/VertexFormat;getShaderAttributes()Lcom/google/common/collect/ImmutableList;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Ldso;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_293;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/client/render/VertexFormat;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • startDrawing

      public void startDrawing()
      Mappings:
      Namespace Name Mixin selector
      official e Ldso;e()V
      intermediary method_22649 Lnet/minecraft/class_293;method_22649()V
      named startDrawing Lnet/minecraft/client/render/VertexFormat;startDrawing()V
    • innerStartDrawing

      private void innerStartDrawing()
      Mappings:
      Namespace Name Mixin selector
      official j Ldso;j()V
      intermediary method_34449 Lnet/minecraft/class_293;method_34449()V
      named innerStartDrawing Lnet/minecraft/client/render/VertexFormat;innerStartDrawing()V
    • endDrawing

      public void endDrawing()
      Mappings:
      Namespace Name Mixin selector
      official f Ldso;f()V
      intermediary method_22651 Lnet/minecraft/class_293;method_22651()V
      named endDrawing Lnet/minecraft/client/render/VertexFormat;endDrawing()V
    • innerEndDrawing

      private void innerEndDrawing()
      Mappings:
      Namespace Name Mixin selector
      official k Ldso;k()V
      intermediary method_34450 Lnet/minecraft/class_293;method_34450()V
      named innerEndDrawing Lnet/minecraft/client/render/VertexFormat;innerEndDrawing()V
    • getVertexArray

      public int getVertexArray()
      Mappings:
      Namespace Name Mixin selector
      official g Ldso;g()I
      intermediary method_34446 Lnet/minecraft/class_293;method_34446()I
      named getVertexArray Lnet/minecraft/client/render/VertexFormat;getVertexArray()I
    • getVertexBuffer

      public int getVertexBuffer()
      Mappings:
      Namespace Name Mixin selector
      official h Ldso;h()I
      intermediary method_34447 Lnet/minecraft/class_293;method_34447()I
      named getVertexBuffer Lnet/minecraft/client/render/VertexFormat;getVertexBuffer()I
    • getElementBuffer

      public int getElementBuffer()
      Mappings:
      Namespace Name Mixin selector
      official i Ldso;i()I
      intermediary method_34448 Lnet/minecraft/class_293;method_34448()I
      named getElementBuffer Lnet/minecraft/client/render/VertexFormat;getElementBuffer()I