Class MultipartBlockStateSupplier.Multipart

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

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

    • variants

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

    • Multipart

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

    • validate

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

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

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