Class MultipartBlockStateSupplier.ConditionalMultipart

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

private static class MultipartBlockStateSupplier.ConditionalMultipart extends MultipartBlockStateSupplier.Multipart
Mappings:
Namespace Name
named net/minecraft/data/client/MultipartBlockStateSupplier$ConditionalMultipart
intermediary net/minecraft/class_4922$class_4923
official ns$a
  • Field Details

    • when

      private final When when
      Mappings:
      Namespace Name Mixin selector
      named when Lnet/minecraft/data/client/MultipartBlockStateSupplier$ConditionalMultipart;when:Lnet/minecraft/data/client/When;
      intermediary field_22857 Lnet/minecraft/class_4922$class_4923;field_22857:Lnet/minecraft/class_4918;
      official a Lns$a;a:Lnr;
  • Constructor Details

    • ConditionalMultipart

      ConditionalMultipart(When when, List<BlockStateVariant> variants)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/client/MultipartBlockStateSupplier$ConditionalMultipart;<init>(Lnet/minecraft/data/client/When;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_4922$class_4923;<init>(Lnet/minecraft/class_4918;Ljava/util/List;)V
      official <init> Lns$a;<init>(Lnr;Ljava/util/List;)V
  • Method Details

    • validate

      public void validate(StateManager<?,?> stateManager)
      Overrides:
      validate in class MultipartBlockStateSupplier.Multipart
      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 Lns$b;a(Ldtb;)V
    • extraToJson

      public void extraToJson(JsonObject json)
      Overrides:
      extraToJson in class MultipartBlockStateSupplier.Multipart
      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 Lns$b;a(Lcom/google/gson/JsonObject;)V