Class MultipartBlockStateSupplier

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

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

    • block

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

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

    • MultipartBlockStateSupplier

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

    • getBlock

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

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

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

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

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

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

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

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