Class SimpleMultipartModelSelector

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

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

    • VALUE_SPLITTER

      private static final Splitter VALUE_SPLITTER
      Mappings:
      Namespace Name Mixin selector
      named VALUE_SPLITTER Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector;VALUE_SPLITTER:Lcom/google/common/base/Splitter;
      intermediary field_4334 Lnet/minecraft/class_818;field_4334:Lcom/google/common/base/Splitter;
      official a Lggh;a:Lcom/google/common/base/Splitter;
    • key

      private final String key
      Mappings:
      Namespace Name Mixin selector
      named key Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector;key:Ljava/lang/String;
      intermediary field_4333 Lnet/minecraft/class_818;field_4333:Ljava/lang/String;
      official d Lggh;d:Ljava/lang/String;
    • valueString

      private final String valueString
      Mappings:
      Namespace Name Mixin selector
      named valueString Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector;valueString:Ljava/lang/String;
      intermediary field_4332 Lnet/minecraft/class_818;field_4332:Ljava/lang/String;
      official e Lggh;e:Ljava/lang/String;
  • Constructor Details

    • SimpleMultipartModelSelector

      public SimpleMultipartModelSelector(String key, String valueString)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector;<init>(Ljava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_818;<init>(Ljava/lang/String;Ljava/lang/String;)V
      official <init> Lggh;<init>(Ljava/lang/String;Ljava/lang/String;)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 Lggg;getPredicate(Ldtb;)Ljava/util/function/Predicate;
    • createPredicate

      private Predicate<BlockState> createPredicate(StateManager<Block,BlockState> stateFactory, Property<?> property, String valueString)
      Mappings:
      Namespace Name Mixin selector
      named createPredicate Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector;createPredicate(Lnet/minecraft/state/StateManager;Lnet/minecraft/state/property/Property;Ljava/lang/String;)Ljava/util/function/Predicate;
      intermediary method_3525 Lnet/minecraft/class_818;method_3525(Lnet/minecraft/class_2689;Lnet/minecraft/class_2769;Ljava/lang/String;)Ljava/util/function/Predicate;
      official a Lggh;a(Ldtb;Ldud;Ljava/lang/String;)Ljava/util/function/Predicate;
    • toString

      public String toString()
      Overrides:
      toString in class Object