Package net.minecraft.predicate
Class StatePredicate.RangedValueCondition
java.lang.Object
net.minecraft.predicate.StatePredicate.Condition
net.minecraft.predicate.StatePredicate.RangedValueCondition
- Enclosing class:
- StatePredicate
static class StatePredicate.RangedValueCondition extends StatePredicate.Condition
- Mappings:
Namespace Name official cm$d
intermediary net/minecraft/class_4559$class_4563
named net/minecraft/predicate/StatePredicate$RangedValueCondition
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RangedValueCondition(String key, String min, String max)
-
Method Summary
Modifier and Type Method Description protected <T extends Comparable<T>>
booleantest(State<?,?> state, Property<T> property)
JsonElement
toJson()
Methods inherited from class net.minecraft.predicate.StatePredicate.Condition
getKey, reportMissing, test
-
Field Details
-
min
- Mappings:
Namespace Name Mixin selector official a
Lcm$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
Lcm$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
- Mappings:
Namespace Name Mixin selector official <init>
Lcm$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
Lcm$c;a(Lchv;Lciw;)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
Lcm$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;
-