Package net.minecraft.data.client.model
Class VariantSetting<T>
java.lang.Object
net.minecraft.data.client.model.VariantSetting<T>
public class VariantSetting<T> extends Object
- Mappings:
Namespace Name official ja
intermediary net/minecraft/class_4938
named net/minecraft/data/client/model/VariantSetting
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
VariantSetting.Value
-
Field Summary
-
Constructor Summary
Constructors Constructor Description VariantSetting(String key, Function<T,JsonElement> writer)
-
Method Summary
Modifier and Type Method Description VariantSetting.Value
evaluate(T value)
String
toString()
-
Field Details
-
key
- Mappings:
Namespace Name Mixin selector official a
Lja;a:Ljava/lang/String;
intermediary field_22896
Lnet/minecraft/class_4938;field_22896:Ljava/lang/String;
named key
Lnet/minecraft/data/client/model/VariantSetting;key:Ljava/lang/String;
-
writer
- Mappings:
Namespace Name Mixin selector official b
Lja;b:Ljava/util/function/Function;
intermediary field_22897
Lnet/minecraft/class_4938;field_22897:Ljava/util/function/Function;
named writer
Lnet/minecraft/data/client/model/VariantSetting;writer:Ljava/util/function/Function;
-
-
Constructor Details
-
VariantSetting
- Mappings:
Namespace Name Mixin selector official <init>
Lja;<init>(Ljava/lang/String;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_4938;<init>(Ljava/lang/String;Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/data/client/model/VariantSetting;<init>(Ljava/lang/String;Ljava/util/function/Function;)V
-
-
Method Details
-
evaluate
- Mappings:
Namespace Name Mixin selector official a
Lja;a(Ljava/lang/Object;)Lja$a;
intermediary method_25836
Lnet/minecraft/class_4938;method_25836(Ljava/lang/Object;)Lnet/minecraft/class_4938$class_4939;
named evaluate
Lnet/minecraft/data/client/model/VariantSetting;evaluate(Ljava/lang/Object;)Lnet/minecraft/data/client/model/VariantSetting$Value;
-
toString
-