Class MultipartBlockStateSupplier

java.lang.Object
net.minecraft.data.client.MultipartBlockStateSupplier
All Implemented Interfaces:
Supplier<JsonElement>, BlockStateSupplier

public class MultipartBlockStateSupplier extends Object implements BlockStateSupplier
Mappings:
Namespace Name
named net/minecraft/data/client/MultipartBlockStateSupplier
intermediary net/minecraft/class_4922
official nw
  • Field Details

    • block

      private final Block block
      Mappings:
      Namespace Name Mixin selector
      named block Lnet/minecraft/data/client/MultipartBlockStateSupplier;block:Lnet/minecraft/block/Block;
      intermediary field_22855 Lnet/minecraft/class_4922;field_22855:Lnet/minecraft/class_2248;
      official a Lnw;a:Ldfa;
    • multiparts

      private final List<MultipartBlockStateSupplier.Multipart> multiparts
      Mappings:
      Namespace Name Mixin selector
      named multiparts Lnet/minecraft/data/client/MultipartBlockStateSupplier;multiparts:Ljava/util/List;
      intermediary field_22856 Lnet/minecraft/class_4922;field_22856:Ljava/util/List;
      official b Lnw;b:Ljava/util/List;
  • Constructor Details

    • MultipartBlockStateSupplier

      private MultipartBlockStateSupplier(Block block)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/client/MultipartBlockStateSupplier;<init>(Lnet/minecraft/block/Block;)V
      intermediary <init> Lnet/minecraft/class_4922;<init>(Lnet/minecraft/class_2248;)V
      official <init> Lnw;<init>(Ldfa;)V
  • Method Details

    • getBlock

      public Block getBlock()
      Specified by:
      getBlock in interface BlockStateSupplier
      Mappings:
      Namespace Name Mixin selector
      named getBlock Lnet/minecraft/data/client/BlockStateSupplier;getBlock()Lnet/minecraft/block/Block;
      intermediary method_25743 Lnet/minecraft/class_4917;method_25743()Lnet/minecraft/class_2248;
      official a Lnu;a()Ldfa;
    • create

      public static MultipartBlockStateSupplier create(Block block)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/data/client/MultipartBlockStateSupplier;create(Lnet/minecraft/block/Block;)Lnet/minecraft/data/client/MultipartBlockStateSupplier;
      intermediary method_25758 Lnet/minecraft/class_4922;method_25758(Lnet/minecraft/class_2248;)Lnet/minecraft/class_4922;
      official a Lnw;a(Ldfa;)Lnw;
    • with

      Mappings:
      Namespace Name Mixin selector
      named with Lnet/minecraft/data/client/MultipartBlockStateSupplier;with(Ljava/util/List;)Lnet/minecraft/data/client/MultipartBlockStateSupplier;
      intermediary method_25764 Lnet/minecraft/class_4922;method_25764(Ljava/util/List;)Lnet/minecraft/class_4922;
      official a Lnw;a(Ljava/util/List;)Lnw;
    • with

      Mappings:
      Namespace Name Mixin selector
      named with Lnet/minecraft/data/client/MultipartBlockStateSupplier;with(Lnet/minecraft/data/client/BlockStateVariant;)Lnet/minecraft/data/client/MultipartBlockStateSupplier;
      intermediary method_25763 Lnet/minecraft/class_4922;method_25763(Lnet/minecraft/class_4935;)Lnet/minecraft/class_4922;
      official a Lnw;a(Loa;)Lnw;
    • with

      public MultipartBlockStateSupplier with(When condition, List<BlockStateVariant> variants)
      Mappings:
      Namespace Name Mixin selector
      named with Lnet/minecraft/data/client/MultipartBlockStateSupplier;with(Lnet/minecraft/data/client/When;Ljava/util/List;)Lnet/minecraft/data/client/MultipartBlockStateSupplier;
      intermediary method_25761 Lnet/minecraft/class_4922;method_25761(Lnet/minecraft/class_4918;Ljava/util/List;)Lnet/minecraft/class_4922;
      official a Lnw;a(Lnv;Ljava/util/List;)Lnw;
    • with

      public MultipartBlockStateSupplier with(When condition, BlockStateVariant[] variants)
      Mappings:
      Namespace Name Mixin selector
      named with Lnet/minecraft/data/client/MultipartBlockStateSupplier;with(Lnet/minecraft/data/client/When;[Lnet/minecraft/data/client/BlockStateVariant;)Lnet/minecraft/data/client/MultipartBlockStateSupplier;
      intermediary method_25762 Lnet/minecraft/class_4922;method_25762(Lnet/minecraft/class_4918;[Lnet/minecraft/class_4935;)Lnet/minecraft/class_4922;
      official a Lnw;a(Lnv;[Loa;)Lnw;
    • with

      public MultipartBlockStateSupplier with(When condition, BlockStateVariant variant)
      Mappings:
      Namespace Name Mixin selector
      named with Lnet/minecraft/data/client/MultipartBlockStateSupplier;with(Lnet/minecraft/data/client/When;Lnet/minecraft/data/client/BlockStateVariant;)Lnet/minecraft/data/client/MultipartBlockStateSupplier;
      intermediary method_25760 Lnet/minecraft/class_4922;method_25760(Lnet/minecraft/class_4918;Lnet/minecraft/class_4935;)Lnet/minecraft/class_4922;
      official a Lnw;a(Lnv;Loa;)Lnw;
    • get

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