Class MultipartBlockStateSupplier.ConditionalMultipart

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

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

    • when

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

    • ConditionalMultipart

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

    • validate

      public void validate​(StateManager<?,​?> stateManager)
      Overrides:
      validate in class MultipartBlockStateSupplier.Multipart
      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)
      Overrides:
      extraToJson in class MultipartBlockStateSupplier.Multipart
      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