Class MultipartBlockStateSupplier

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

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

    • block

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

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

    • MultipartBlockStateSupplier

      private MultipartBlockStateSupplier(Block block)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljh;<init>(Lccr;)V
      intermediary <init> Lnet/minecraft/class_4922;<init>(Lnet/minecraft/class_2248;)V
      named <init> Lnet/minecraft/data/client/model/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 Ljf;a()Lccr;
      intermediary method_25743 Lnet/minecraft/class_4917;method_25743()Lnet/minecraft/class_2248;
      named getBlock Lnet/minecraft/data/client/model/BlockStateSupplier;getBlock()Lnet/minecraft/block/Block;
    • create

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

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

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

      public MultipartBlockStateSupplier with(When condition, List<BlockStateVariant> variants)
      Mappings:
      Namespace Name Mixin selector
      official a Ljh;a(Ljg;Ljava/util/List;)Ljh;
      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/model/MultipartBlockStateSupplier;with(Lnet/minecraft/data/client/model/When;Ljava/util/List;)Lnet/minecraft/data/client/model/MultipartBlockStateSupplier;
    • with

      public MultipartBlockStateSupplier with(When condition, BlockStateVariant[] variants)
      Mappings:
      Namespace Name Mixin selector
      official a Ljh;a(Ljg;[Ljl;)Ljh;
      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/model/MultipartBlockStateSupplier;with(Lnet/minecraft/data/client/model/When;[Lnet/minecraft/data/client/model/BlockStateVariant;)Lnet/minecraft/data/client/model/MultipartBlockStateSupplier;
    • with

      public MultipartBlockStateSupplier with(When condition, BlockStateVariant variant)
      Mappings:
      Namespace Name Mixin selector
      official a Ljh;a(Ljg;Ljl;)Ljh;
      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/model/MultipartBlockStateSupplier;with(Lnet/minecraft/data/client/model/When;Lnet/minecraft/data/client/model/BlockStateVariant;)Lnet/minecraft/data/client/model/MultipartBlockStateSupplier;
    • get

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