Class OrMultipartModelSelector

java.lang.Object
net.minecraft.client.render.model.json.OrMultipartModelSelector
All Implemented Interfaces:
MultipartModelSelector

@Environment(CLIENT) public class OrMultipartModelSelector extends Object implements MultipartModelSelector
Mappings:
Namespace Name
official fjt
intermediary net/minecraft/class_821
named net/minecraft/client/render/model/json/OrMultipartModelSelector
  • Field Details

    • KEY

      public static final String KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfjt;a:Ljava/lang/String;
      intermediary field_32815 Lnet/minecraft/class_821;field_32815:Ljava/lang/String;
      named KEY Lnet/minecraft/client/render/model/json/OrMultipartModelSelector;KEY:Ljava/lang/String;
    • selectors

      private final Iterable<? extends MultipartModelSelector> selectors
      Mappings:
      Namespace Name Mixin selector
      official d Lfjt;d:Ljava/lang/Iterable;
      intermediary field_4337 Lnet/minecraft/class_821;field_4337:Ljava/lang/Iterable;
      named selectors Lnet/minecraft/client/render/model/json/OrMultipartModelSelector;selectors:Ljava/lang/Iterable;
  • Constructor Details

    • OrMultipartModelSelector

      public OrMultipartModelSelector(Iterable<? extends MultipartModelSelector> selectors)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfjt;<init>(Ljava/lang/Iterable;)V
      intermediary <init> Lnet/minecraft/class_821;<init>(Ljava/lang/Iterable;)V
      named <init> Lnet/minecraft/client/render/model/json/OrMultipartModelSelector;<init>(Ljava/lang/Iterable;)V
  • Method Details

    • getPredicate

      public Predicate<BlockState> getPredicate(StateManager<Block,BlockState> stateFactory)
      Specified by:
      getPredicate in interface MultipartModelSelector
      Mappings:
      Namespace Name Mixin selector
      official getPredicate Lfjq;getPredicate(Ldbr;)Ljava/util/function/Predicate;
      intermediary getPredicate Lnet/minecraft/class_815;getPredicate(Lnet/minecraft/class_2689;)Ljava/util/function/Predicate;
      named getPredicate Lnet/minecraft/client/render/model/json/MultipartModelSelector;getPredicate(Lnet/minecraft/state/StateManager;)Ljava/util/function/Predicate;