Class VertexFormat.Builder

java.lang.Object
net.minecraft.client.render.VertexFormat.Builder
Enclosing class:
VertexFormat

@Environment(CLIENT) public static class VertexFormat.Builder extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/VertexFormat$Builder
intermediary net/minecraft/class_293$class_9803
official fbn$a
  • Field Details

    • elements

      Mappings:
      Namespace Name Mixin selector
      named elements Lnet/minecraft/client/render/VertexFormat$Builder;elements:Lcom/google/common/collect/ImmutableMap$Builder;
      intermediary field_52103 Lnet/minecraft/class_293$class_9803;field_52103:Lcom/google/common/collect/ImmutableMap$Builder;
      official a Lfbn$a;a:Lcom/google/common/collect/ImmutableMap$Builder;
    • offsets

      private final IntList offsets
      Mappings:
      Namespace Name Mixin selector
      named offsets Lnet/minecraft/client/render/VertexFormat$Builder;offsets:Lit/unimi/dsi/fastutil/ints/IntList;
      intermediary field_52104 Lnet/minecraft/class_293$class_9803;field_52104:Lit/unimi/dsi/fastutil/ints/IntList;
      official b Lfbn$a;b:Lit/unimi/dsi/fastutil/ints/IntList;
    • currentOffset

      private int currentOffset
      Mappings:
      Namespace Name Mixin selector
      named currentOffset Lnet/minecraft/client/render/VertexFormat$Builder;currentOffset:I
      intermediary field_52105 Lnet/minecraft/class_293$class_9803;field_52105:I
      official c Lfbn$a;c:I
  • Constructor Details

    • Builder

      Builder()
  • Method Details

    • add

      public VertexFormat.Builder add(String name, VertexFormatElement element)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/client/render/VertexFormat$Builder;add(Ljava/lang/String;Lnet/minecraft/client/render/VertexFormatElement;)Lnet/minecraft/client/render/VertexFormat$Builder;
      intermediary method_60842 Lnet/minecraft/class_293$class_9803;method_60842(Ljava/lang/String;Lnet/minecraft/class_296;)Lnet/minecraft/class_293$class_9803;
      official a Lfbn$a;a(Ljava/lang/String;Lfbo;)Lfbn$a;
    • skip

      public VertexFormat.Builder skip(int offset)
      Mappings:
      Namespace Name Mixin selector
      named skip Lnet/minecraft/client/render/VertexFormat$Builder;skip(I)Lnet/minecraft/client/render/VertexFormat$Builder;
      intermediary method_60841 Lnet/minecraft/class_293$class_9803;method_60841(I)Lnet/minecraft/class_293$class_9803;
      official a Lfbn$a;a(I)Lfbn$a;
    • build

      public VertexFormat build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/client/render/VertexFormat$Builder;build()Lnet/minecraft/client/render/VertexFormat;
      intermediary method_60840 Lnet/minecraft/class_293$class_9803;method_60840()Lnet/minecraft/class_293;
      official a Lfbn$a;a()Lfbn;