Class MultipartModelComponent

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

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

    • selector

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

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

    • MultipartModelComponent

      public MultipartModelComponent(MultipartModelSelector selector, WeightedUnbakedModel model)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lffj;<init>(Lfff;Lffc;)V
      intermediary <init> Lnet/minecraft/class_819;<init>(Lnet/minecraft/class_815;Lnet/minecraft/class_807;)V
      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
  • Method Details

    • getModel

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object