Class MultipartBlockStateSupplier.Multipart

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

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

    • variants

      private final List<BlockStateVariant> variants
      Mappings:
      Namespace Name Mixin selector
      official a Lkx$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/MultipartBlockStateSupplier$Multipart;variants:Ljava/util/List;
  • Constructor Details

    • Multipart

      Multipart(List<BlockStateVariant> variants)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lkx$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/MultipartBlockStateSupplier$Multipart;<init>(Ljava/util/List;)V
  • Method Details

    • validate

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

      public void extraToJson(com.google.gson.JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Lkx$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/MultipartBlockStateSupplier$Multipart;extraToJson(Lcom/google/gson/JsonObject;)V
    • get

      public com.google.gson.JsonElement get()
      Specified by:
      get in interface Supplier<com.google.gson.JsonElement>
      Mappings:
      Namespace Name Mixin selector
      official a Lkx$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/MultipartBlockStateSupplier$Multipart;get()Lcom/google/gson/JsonElement;