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 gfh
  • 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 Lgfh;a:Lgfd;
    • 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 Lgfh;b:Lgfa;
  • 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> Lgfh;<init>(Lgfd;Lgfa;)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 Lgfh;a()Lgfa;
    • 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 Lgfh;a(Ldsf;)Ljava/util/function/Predicate;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      named equals Lnet/minecraft/client/render/model/json/MultipartModelComponent;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_819;equals(Ljava/lang/Object;)Z
      official equals Lgfh;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object