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 ejb
intermediary net/minecraft/class_818
named net/minecraft/client/render/model/json/SimpleMultipartModelSelector
-
Field Summary
Fields Modifier and Type Field Description private String
key
private static Splitter
VALUE_SPLITTER
private String
valueString
Fields inherited from interface net.minecraft.client.render.model.json.MultipartModelSelector
FALSE, TRUE
-
Constructor Summary
Constructors Constructor Description SimpleMultipartModelSelector(String key, String valueString)
-
Method Summary
Modifier and Type Method Description private Predicate<BlockState>
createPredicate(StateManager<Block,BlockState> stateFactory, Property<?> property, String valueString)
Predicate<BlockState>
getPredicate(StateManager<Block,BlockState> stateFactory)
String
toString()
-
Field Details
-
VALUE_SPLITTER
- Mappings:
Namespace Name Mixin selector official c
Lejb;c: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
- Mappings:
Namespace Name Mixin selector official d
Lejb;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
- Mappings:
Namespace Name Mixin selector official e
Lejb;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
- Mappings:
Namespace Name Mixin selector official <init>
Lejb;<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
- Specified by:
getPredicate
in interfaceMultipartModelSelector
- Mappings:
Namespace Name Mixin selector official getPredicate
Leja;getPredicate(Lchu;)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
Lejb;a(Lchu;Lciw;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
- Overrides:
toString
in classObject
- Mappings:
Namespace Name Mixin selector official toString
Lejb;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_818;toString()Ljava/lang/String;
named toString
Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector;toString()Ljava/lang/String;
-