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
official ffg
intermediary net/minecraft/class_818
named net/minecraft/client/render/model/json/SimpleMultipartModelSelector
  • Field Details

    • VALUE_SPLITTER

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

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

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

    • SimpleMultipartModelSelector

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

      private Predicate<BlockState> createPredicate(StateManager<Block,BlockState> stateFactory, Property<?> property, String valueString)
      Mappings:
      Namespace Name Mixin selector
      official a Lffg;a(Lcyu;Lczw;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;
      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;
    • toString

      public String toString()
      Overrides:
      toString in class Object