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
named net/minecraft/client/render/model/json/OrMultipartModelSelector
intermediary net/minecraft/class_821
official gff
  • Field Details

    • KEY

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

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

    • OrMultipartModelSelector

      public OrMultipartModelSelector(Iterable<? extends MultipartModelSelector> selectors)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/json/OrMultipartModelSelector;<init>(Ljava/lang/Iterable;)V
      intermediary <init> Lnet/minecraft/class_821;<init>(Ljava/lang/Iterable;)V
      official <init> Lgff;<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
      named getPredicate Lnet/minecraft/client/render/model/json/MultipartModelSelector;getPredicate(Lnet/minecraft/state/StateManager;)Ljava/util/function/Predicate;
      intermediary getPredicate Lnet/minecraft/class_815;getPredicate(Lnet/minecraft/class_2689;)Ljava/util/function/Predicate;
      official getPredicate Lgfc;getPredicate(Ldse;)Ljava/util/function/Predicate;