Package net.minecraft.predicate
Class StatePredicate.RangedValueCondition
java.lang.Object
net.minecraft.predicate.StatePredicate.Condition
net.minecraft.predicate.StatePredicate.RangedValueCondition
- Enclosing class:
- StatePredicate
- Mappings:
Namespace Name official cw$d
intermediary net/minecraft/class_4559$class_4563
named net/minecraft/predicate/StatePredicate$RangedValueCondition
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.predicate.StatePredicate.Condition
getKey, reportMissing, test
-
Field Details
-
min
- Mappings:
Namespace Name Mixin selector official a
Lcw$d;a:Ljava/lang/String;
intermediary field_20741
Lnet/minecraft/class_4559$class_4563;field_20741:Ljava/lang/String;
named min
Lnet/minecraft/predicate/StatePredicate$RangedValueCondition;min:Ljava/lang/String;
-
max
- Mappings:
Namespace Name Mixin selector official b
Lcw$d;b:Ljava/lang/String;
intermediary field_20742
Lnet/minecraft/class_4559$class_4563;field_20742:Ljava/lang/String;
named max
Lnet/minecraft/predicate/StatePredicate$RangedValueCondition;max:Ljava/lang/String;
-
-
Constructor Details
-
RangedValueCondition
public RangedValueCondition(String key, @Nullable @Nullable String min, @Nullable @Nullable String max) - Mappings:
Namespace Name Mixin selector official <init>
Lcw$d;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_4559$class_4563;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
named <init>
Lnet/minecraft/predicate/StatePredicate$RangedValueCondition;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
-
-
Method Details
-
test
- Specified by:
test
in classStatePredicate.Condition
- Mappings:
Namespace Name Mixin selector official a
Lcw$c;a(Lcnx;Lcoz;)Z
intermediary method_22532
Lnet/minecraft/class_4559$class_4562;method_22532(Lnet/minecraft/class_2688;Lnet/minecraft/class_2769;)Z
named test
Lnet/minecraft/predicate/StatePredicate$Condition;test(Lnet/minecraft/state/State;Lnet/minecraft/state/property/Property;)Z
-
toJson
- Specified by:
toJson
in classStatePredicate.Condition
- Mappings:
Namespace Name Mixin selector official a
Lcw$c;a()Lcom/google/gson/JsonElement;
intermediary method_22529
Lnet/minecraft/class_4559$class_4562;method_22529()Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/predicate/StatePredicate$Condition;toJson()Lcom/google/gson/JsonElement;
-