Class VertexFormat

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

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lddw;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_11223 Lnet/minecraft/class_2522;field_11223:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/render/VertexFormat;LOGGER:Lorg/apache/logging/log4j/Logger;
    • elements

      private final List<VertexFormatElement> elements
      Mappings:
      Namespace Name Mixin selector
      official b Lddw;b:Ljava/util/List;
      intermediary field_11224 Lnet/minecraft/class_2522;field_11224:Ljava/util/List;
      named elements Lnet/minecraft/client/render/VertexFormat;elements:Ljava/util/List;
    • positions

      private final List<Integer> positions
      Mappings:
      Namespace Name Mixin selector
      official c Lddw;c:Ljava/util/List;
      intermediary field_11225 Lnet/minecraft/class_2522;field_11225:Ljava/util/List;
      named positions Lnet/minecraft/client/render/VertexFormat;positions:Ljava/util/List;
    • size

      private int size
      Mappings:
      Namespace Name Mixin selector
      official d Lddw;d:I
      intermediary field_11226 Lnet/minecraft/class_2522;field_11226:I
      named size Lnet/minecraft/client/render/VertexFormat;size:I
    • colorIndex

      private int colorIndex
      Mappings:
      Namespace Name Mixin selector
      official e Lddw;e:I
      intermediary field_11227 Lnet/minecraft/class_2522;field_11227:I
      named colorIndex Lnet/minecraft/client/render/VertexFormat;colorIndex:I
    • uvIndices

      private final List<Integer> uvIndices
      Mappings:
      Namespace Name Mixin selector
      official f Lddw;f:Ljava/util/List;
      intermediary field_11228 Lnet/minecraft/class_2522;field_11228:Ljava/util/List;
      named uvIndices Lnet/minecraft/client/render/VertexFormat;uvIndices:Ljava/util/List;
    • normalIndex

      private int normalIndex
      Mappings:
      Namespace Name Mixin selector
      official g Lddw;g:I
      intermediary field_11229 Lnet/minecraft/class_2522;field_11229:I
      named normalIndex Lnet/minecraft/client/render/VertexFormat;normalIndex:I
  • Constructor Details

    • VertexFormat

      public VertexFormat(VertexFormat format)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddw;<init>(Lddw;)V
      intermediary <init> Lnet/minecraft/class_2522;<init>(Lnet/minecraft/class_2522;)V
      named <init> Lnet/minecraft/client/render/VertexFormat;<init>(Lnet/minecraft/client/render/VertexFormat;)V
    • VertexFormat

      public VertexFormat()
  • Method Details

    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      official a Lddw;a()V
      intermediary method_10332 Lnet/minecraft/class_2522;method_10332()V
      named clear Lnet/minecraft/client/render/VertexFormat;clear()V
    • addElement

      public VertexFormat addElement(VertexFormatElement element)
      Mappings:
      Namespace Name Mixin selector
      official a Lddw;a(Lddx;)Lddw;
      intermediary method_10334 Lnet/minecraft/class_2522;method_10334(Lnet/minecraft/class_2523;)Lnet/minecraft/class_2522;
      named addElement Lnet/minecraft/client/render/VertexFormat;addElement(Lnet/minecraft/client/render/VertexFormatElement;)Lnet/minecraft/client/render/VertexFormat;
    • hasNormal

      public boolean hasNormal()
      Mappings:
      Namespace Name Mixin selector
      official b Lddw;b()Z
      intermediary method_10335 Lnet/minecraft/class_2522;method_10335()Z
      named hasNormal Lnet/minecraft/client/render/VertexFormat;hasNormal()Z
    • getNormalIndex

      public int getNormalIndex()
      Mappings:
      Namespace Name Mixin selector
      official c Lddw;c()I
      intermediary method_10337 Lnet/minecraft/class_2522;method_10337()I
      named getNormalIndex Lnet/minecraft/client/render/VertexFormat;getNormalIndex()I
    • hasColor

      public boolean hasColor()
      Mappings:
      Namespace Name Mixin selector
      official d Lddw;d()Z
      intermediary method_10339 Lnet/minecraft/class_2522;method_10339()Z
      named hasColor Lnet/minecraft/client/render/VertexFormat;hasColor()Z
    • getColorIndex

      public int getColorIndex()
      Mappings:
      Namespace Name Mixin selector
      official e Lddw;e()I
      intermediary method_10341 Lnet/minecraft/class_2522;method_10341()I
      named getColorIndex Lnet/minecraft/client/render/VertexFormat;getColorIndex()I
    • hasUv

      public boolean hasUv(int uvId)
      Mappings:
      Namespace Name Mixin selector
      official a Lddw;a(I)Z
      intermediary method_10333 Lnet/minecraft/class_2522;method_10333(I)Z
      named hasUv Lnet/minecraft/client/render/VertexFormat;hasUv(I)Z
    • getUvIndex

      public int getUvIndex(int uvId)
      Mappings:
      Namespace Name Mixin selector
      official b Lddw;b(I)I
      intermediary method_10336 Lnet/minecraft/class_2522;method_10336(I)I
      named getUvIndex Lnet/minecraft/client/render/VertexFormat;getUvIndex(I)I
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lddw;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_2522;toString()Ljava/lang/String;
      named toString Lnet/minecraft/client/render/VertexFormat;toString()Ljava/lang/String;
    • hasPosition

      private boolean hasPosition()
      Mappings:
      Namespace Name Mixin selector
      official j Lddw;j()Z
      intermediary method_10346 Lnet/minecraft/class_2522;method_10346()Z
      named hasPosition Lnet/minecraft/client/render/VertexFormat;hasPosition()Z
    • getVertexSizeInteger

      public int getVertexSizeInteger()
      Mappings:
      Namespace Name Mixin selector
      official f Lddw;f()I
      intermediary method_10342 Lnet/minecraft/class_2522;method_10342()I
      named getVertexSizeInteger Lnet/minecraft/client/render/VertexFormat;getVertexSizeInteger()I
    • getVertexSize

      public int getVertexSize()
      Mappings:
      Namespace Name Mixin selector
      official g Lddw;g()I
      intermediary method_10343 Lnet/minecraft/class_2522;method_10343()I
      named getVertexSize Lnet/minecraft/client/render/VertexFormat;getVertexSize()I
    • getElements

      public List<VertexFormatElement> getElements()
      Mappings:
      Namespace Name Mixin selector
      official h Lddw;h()Ljava/util/List;
      intermediary method_10344 Lnet/minecraft/class_2522;method_10344()Ljava/util/List;
      named getElements Lnet/minecraft/client/render/VertexFormat;getElements()Ljava/util/List;
    • getSize

      public int getSize()
      Mappings:
      Namespace Name Mixin selector
      official i Lddw;i()I
      intermediary method_10345 Lnet/minecraft/class_2522;method_10345()I
      named getSize Lnet/minecraft/client/render/VertexFormat;getSize()I
    • get

      public VertexFormatElement get(int i)
      Mappings:
      Namespace Name Mixin selector
      official c Lddw;c(I)Lddx;
      intermediary method_10338 Lnet/minecraft/class_2522;method_10338(I)Lnet/minecraft/class_2523;
      named get Lnet/minecraft/client/render/VertexFormat;get(I)Lnet/minecraft/client/render/VertexFormatElement;
    • getIndex

      public int getIndex(int elementId)
      Mappings:
      Namespace Name Mixin selector
      official d Lddw;d(I)I
      intermediary method_10340 Lnet/minecraft/class_2522;method_10340(I)I
      named getIndex Lnet/minecraft/client/render/VertexFormat;getIndex(I)I
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lddw;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_2522;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
      Mappings:
      Namespace Name Mixin selector
      official hashCode Lddw;hashCode()I
      intermediary hashCode Lnet/minecraft/class_2522;hashCode()I
      named hashCode Lnet/minecraft/client/render/VertexFormat;hashCode()I