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
official jm
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 Ljm;a:Lcdq;
      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 Ljm;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> Ljm;<init>(Lcdq;)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 Ljk;a()Lcdq;
      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 Ljm;a(Lcdq;)Ljm;
      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 Ljm;a(Ljava/util/List;)Ljm;
      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 Ljm;a(Ljq;)Ljm;
      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 Ljm;a(Ljl;Ljava/util/List;)Ljm;
      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 Ljm;a(Ljl;[Ljq;)Ljm;
      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 Ljm;a(Ljl;Ljq;)Ljm;
      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 JsonElement get()
      Specified by:
      get in interface Supplier<JsonElement>
      Mappings:
      Namespace Name Mixin selector
      official b Ljm;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;