Class MultipartModelComponent

java.lang.Object
net.minecraft.client.render.model.json.MultipartModelComponent

@Environment(CLIENT) public class MultipartModelComponent extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/model/json/MultipartModelComponent
intermediary net/minecraft/class_819
official gnm
  • Field Details

    • selector

      private final MultipartModelSelector selector
      Mappings:
      Namespace Name Mixin selector
      named selector Lnet/minecraft/client/render/model/json/MultipartModelComponent;selector:Lnet/minecraft/client/render/model/json/MultipartModelSelector;
      intermediary field_4335 Lnet/minecraft/class_819;field_4335:Lnet/minecraft/class_815;
      official a Lgnm;a:Lgni;
    • model

      private final WeightedUnbakedModel model
      Mappings:
      Namespace Name Mixin selector
      named model Lnet/minecraft/client/render/model/json/MultipartModelComponent;model:Lnet/minecraft/client/render/model/json/WeightedUnbakedModel;
      intermediary field_4336 Lnet/minecraft/class_819;field_4336:Lnet/minecraft/class_807;
      official b Lgnm;b:Lgnd;
  • Constructor Details

    • MultipartModelComponent

      public MultipartModelComponent(MultipartModelSelector selector, WeightedUnbakedModel model)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/json/MultipartModelComponent;<init>(Lnet/minecraft/client/render/model/json/MultipartModelSelector;Lnet/minecraft/client/render/model/json/WeightedUnbakedModel;)V
      intermediary <init> Lnet/minecraft/class_819;<init>(Lnet/minecraft/class_815;Lnet/minecraft/class_807;)V
      official <init> Lgnm;<init>(Lgni;Lgnd;)V
  • Method Details

    • getModel

      public WeightedUnbakedModel getModel()
      Mappings:
      Namespace Name Mixin selector
      named getModel Lnet/minecraft/client/render/model/json/MultipartModelComponent;getModel()Lnet/minecraft/client/render/model/json/WeightedUnbakedModel;
      intermediary method_3529 Lnet/minecraft/class_819;method_3529()Lnet/minecraft/class_807;
      official a Lgnm;a()Lgnd;
    • getPredicate

      public Predicate<BlockState> getPredicate(StateManager<Block,BlockState> stateFactory)
      Mappings:
      Namespace Name Mixin selector
      named getPredicate Lnet/minecraft/client/render/model/json/MultipartModelComponent;getPredicate(Lnet/minecraft/state/StateManager;)Ljava/util/function/Predicate;
      intermediary method_3530 Lnet/minecraft/class_819;method_3530(Lnet/minecraft/class_2689;)Ljava/util/function/Predicate;
      official a Lgnm;a(Ldxv;)Ljava/util/function/Predicate;