Class MultipartModelComponent

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

@Environment(CLIENT) public class MultipartModelComponent extends Object
Mappings:
Namespace Name
official fll
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 Lfll;a:Lflh;
      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 Lfll;b:Lfle;
      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> Lfll;<init>(Lflh;Lfle;)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 Lfll;a()Lfle;
      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 Lfll;a(Ldcc;)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 Lfll;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