Class MultipartBlockStateSupplier.Multipart

java.lang.Object
net.minecraft.data.client.MultipartBlockStateSupplier.Multipart
All Implemented Interfaces:
Supplier<JsonElement>
Direct Known Subclasses:
MultipartBlockStateSupplier.ConditionalMultipart
Enclosing class:
MultipartBlockStateSupplier

private static class MultipartBlockStateSupplier.Multipart extends Object implements Supplier<JsonElement>
Mappings:
Namespace Name
named net/minecraft/data/client/MultipartBlockStateSupplier$Multipart
intermediary net/minecraft/class_4922$class_4924
official oh$b
  • Field Details

    • variants

      private final List<BlockStateVariant> variants
      Mappings:
      Namespace Name Mixin selector
      named variants Lnet/minecraft/data/client/MultipartBlockStateSupplier$Multipart;variants:Ljava/util/List;
      intermediary field_22858 Lnet/minecraft/class_4922$class_4924;field_22858:Ljava/util/List;
      official a Loh$b;a:Ljava/util/List;
  • Constructor Details

    • Multipart

      Multipart(List<BlockStateVariant> variants)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/client/MultipartBlockStateSupplier$Multipart;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_4922$class_4924;<init>(Ljava/util/List;)V
      official <init> Loh$b;<init>(Ljava/util/List;)V
  • Method Details

    • validate

      public void validate(StateManager<?,?> stateManager)
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/data/client/MultipartBlockStateSupplier$Multipart;validate(Lnet/minecraft/state/StateManager;)V
      intermediary method_25767 Lnet/minecraft/class_4922$class_4924;method_25767(Lnet/minecraft/class_2689;)V
      official a Loh$b;a(Ldxv;)V
    • extraToJson

      public void extraToJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      named extraToJson Lnet/minecraft/data/client/MultipartBlockStateSupplier$Multipart;extraToJson(Lcom/google/gson/JsonObject;)V
      intermediary method_25768 Lnet/minecraft/class_4922$class_4924;method_25768(Lcom/google/gson/JsonObject;)V
      official a Loh$b;a(Lcom/google/gson/JsonObject;)V
    • get

      public JsonElement get()
      Specified by:
      get in interface Supplier<JsonElement>
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/data/client/MultipartBlockStateSupplier$Multipart;get()Lcom/google/gson/JsonElement;
      intermediary method_25766 Lnet/minecraft/class_4922$class_4924;method_25766()Lcom/google/gson/JsonElement;
      official a Loh$b;a()Lcom/google/gson/JsonElement;