Package net.minecraft.data.client.model
Class When.PropertyCondition
java.lang.Object
net.minecraft.data.client.model.When.PropertyCondition
- All Implemented Interfaces:
Supplier<JsonElement>
,When
- Enclosing interface:
- When
public static class When.PropertyCondition extends Object implements When
- Mappings:
Namespace Name official it$c
intermediary net/minecraft/class_4918$class_4921
named net/minecraft/data/client/model/When$PropertyCondition
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.client.model.When
When.LogicalCondition, When.LogicalOperator, When.PropertyCondition
-
Field Summary
Fields Modifier and Type Field Description private Map<Property<?>,String>
properties
-
Constructor Summary
Constructors Constructor Description PropertyCondition()
-
Method Summary
Modifier and Type Method Description JsonElement
get()
private static <T extends Comparable<T>>
Stringname(Property<T> property, Stream<T> valueStream)
private static <T extends Comparable<T>>
Stringname(Property<T> property, T value, T[] otherValues)
private <T extends Comparable<T>>
voidset(Property<T> property, String value)
<T extends Comparable<T>>
When.PropertyConditionset(Property<T> property, T value)
<T extends Comparable<T>>
When.PropertyConditionset(Property<T> property, T value, T[] otherValues)
void
validate(StateManager<?,?> stateManager)
-
Field Details
-
properties
- Mappings:
Namespace Name Mixin selector official a
Lit$c;a:Ljava/util/Map;
intermediary field_22854
Lnet/minecraft/class_4918$class_4921;field_22854:Ljava/util/Map;
named properties
Lnet/minecraft/data/client/model/When$PropertyCondition;properties:Ljava/util/Map;
-
-
Constructor Details
-
PropertyCondition
public PropertyCondition()
-
-
Method Details
-
name
- Mappings:
Namespace Name Mixin selector official a
Lit$c;a(Lciw;Ljava/util/stream/Stream;)Ljava/lang/String;
intermediary method_25754
Lnet/minecraft/class_4918$class_4921;method_25754(Lnet/minecraft/class_2769;Ljava/util/stream/Stream;)Ljava/lang/String;
named name
Lnet/minecraft/data/client/model/When$PropertyCondition;name(Lnet/minecraft/state/property/Property;Ljava/util/stream/Stream;)Ljava/lang/String;
-
name
private static <T extends Comparable<T>> String name(Property<T> property, T value, T[] otherValues)- Mappings:
Namespace Name Mixin selector official c
Lit$c;c(Lciw;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljava/lang/String;
intermediary method_25757
Lnet/minecraft/class_4918$class_4921;method_25757(Lnet/minecraft/class_2769;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljava/lang/String;
named name
Lnet/minecraft/data/client/model/When$PropertyCondition;name(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljava/lang/String;
-
set
- Mappings:
Namespace Name Mixin selector official a
Lit$c;a(Lciw;Ljava/lang/String;)V
intermediary method_25753
Lnet/minecraft/class_4918$class_4921;method_25753(Lnet/minecraft/class_2769;Ljava/lang/String;)V
named set
Lnet/minecraft/data/client/model/When$PropertyCondition;set(Lnet/minecraft/state/property/Property;Ljava/lang/String;)V
-
set
- Mappings:
Namespace Name Mixin selector official a
Lit$c;a(Lciw;Ljava/lang/Comparable;)Lit$c;
intermediary method_25751
Lnet/minecraft/class_4918$class_4921;method_25751(Lnet/minecraft/class_2769;Ljava/lang/Comparable;)Lnet/minecraft/class_4918$class_4921;
named set
Lnet/minecraft/data/client/model/When$PropertyCondition;set(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/data/client/model/When$PropertyCondition;
-
set
@SafeVarargs public final <T extends Comparable<T>> When.PropertyCondition set(Property<T> property, T value, T[] otherValues)- Mappings:
Namespace Name Mixin selector official a
Lit$c;a(Lciw;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lit$c;
intermediary method_25752
Lnet/minecraft/class_4918$class_4921;method_25752(Lnet/minecraft/class_2769;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lnet/minecraft/class_4918$class_4921;
named set
Lnet/minecraft/data/client/model/When$PropertyCondition;set(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lnet/minecraft/data/client/model/When$PropertyCondition;
-
get
- Specified by:
get
in interfaceSupplier<JsonElement>
- Mappings:
Namespace Name Mixin selector official b
Lit$c;b()Lcom/google/gson/JsonElement;
intermediary method_25756
Lnet/minecraft/class_4918$class_4921;method_25756()Lcom/google/gson/JsonElement;
named get
Lnet/minecraft/data/client/model/When$PropertyCondition;get()Lcom/google/gson/JsonElement;
-
validate
-