Package net.minecraft.predicate
Class StatePredicate.Condition
java.lang.Object
net.minecraft.predicate.StatePredicate.Condition
- Direct Known Subclasses:
StatePredicate.ExactValueCondition
,StatePredicate.RangedValueCondition
- Enclosing class:
StatePredicate
- Mappings:
Namespace Name official cz$c
intermediary net/minecraft/class_4559$class_4562
named net/minecraft/predicate/StatePredicate$Condition
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
void
reportMissing
(StateManager<?, ?> factory, Consumer<String> reporter) protected abstract <T extends Comparable<T>>
boolean<S extends State<?,
S>>
booleantest
(StateManager<?, S> stateManager, S state) abstract JsonElement
toJson()
-
Field Details
-
key
- Mappings:
Namespace Name Mixin selector official a
Lcz$c;a:Ljava/lang/String;
intermediary field_20740
Lnet/minecraft/class_4559$class_4562;field_20740:Ljava/lang/String;
named key
Lnet/minecraft/predicate/StatePredicate$Condition;key:Ljava/lang/String;
-
-
Constructor Details
-
Condition
- Mappings:
Namespace Name Mixin selector official <init>
Lcz$c;<init>(Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_4559$class_4562;<init>(Ljava/lang/String;)V
named <init>
Lnet/minecraft/predicate/StatePredicate$Condition;<init>(Ljava/lang/String;)V
-
-
Method Details
-
test
- Mappings:
Namespace Name Mixin selector official a
Lcz$c;a(Ldbu;Ldbv;)Z
intermediary method_22530
Lnet/minecraft/class_4559$class_4562;method_22530(Lnet/minecraft/class_2689;Lnet/minecraft/class_2688;)Z
named test
Lnet/minecraft/predicate/StatePredicate$Condition;test(Lnet/minecraft/state/StateManager;Lnet/minecraft/state/State;)Z
-
test
- Mappings:
Namespace Name Mixin selector official a
Lcz$c;a(Ldbv;Ldcw;)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
- Mappings:
Namespace Name Mixin selector official a
Lcz$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;
-
getKey
- Mappings:
Namespace Name Mixin selector official b
Lcz$c;b()Ljava/lang/String;
intermediary method_22533
Lnet/minecraft/class_4559$class_4562;method_22533()Ljava/lang/String;
named getKey
Lnet/minecraft/predicate/StatePredicate$Condition;getKey()Ljava/lang/String;
-
reportMissing
- Mappings:
Namespace Name Mixin selector official a
Lcz$c;a(Ldbu;Ljava/util/function/Consumer;)V
intermediary method_22531
Lnet/minecraft/class_4559$class_4562;method_22531(Lnet/minecraft/class_2689;Ljava/util/function/Consumer;)V
named reportMissing
Lnet/minecraft/predicate/StatePredicate$Condition;reportMissing(Lnet/minecraft/state/StateManager;Ljava/util/function/Consumer;)V
-