Package net.minecraft.predicate
Class StatePredicate.Builder
java.lang.Object
net.minecraft.predicate.StatePredicate.Builder
- Enclosing class:
- StatePredicate
public static class StatePredicate.Builder extends Object
- Mappings:
Namespace Name official cm$a
intermediary net/minecraft/class_4559$class_4560
named net/minecraft/predicate/StatePredicate$Builder
-
Field Summary
Fields Modifier and Type Field Description private List<StatePredicate.Condition>
conditions
-
Constructor Summary
Constructors Modifier Constructor Description private
Builder()
-
Method Summary
Modifier and Type Method Description StatePredicate
build()
static StatePredicate.Builder
create()
StatePredicate.Builder
exactMatch(Property<?> property, String valueName)
StatePredicate.Builder
exactMatch(Property<Boolean> property, boolean value)
StatePredicate.Builder
exactMatch(Property<Integer> property, int value)
<T extends Comparable<T> & StringIdentifiable>
StatePredicate.BuilderexactMatch(Property<T> property, T value)
-
Field Details
-
conditions
- Mappings:
Namespace Name Mixin selector official a
Lcm$a;a:Ljava/util/List;
intermediary field_20738
Lnet/minecraft/class_4559$class_4560;field_20738:Ljava/util/List;
named conditions
Lnet/minecraft/predicate/StatePredicate$Builder;conditions:Ljava/util/List;
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lcm$a;a()Lcm$a;
intermediary method_22523
Lnet/minecraft/class_4559$class_4560;method_22523()Lnet/minecraft/class_4559$class_4560;
named create
Lnet/minecraft/predicate/StatePredicate$Builder;create()Lnet/minecraft/predicate/StatePredicate$Builder;
-
exactMatch
- Mappings:
Namespace Name Mixin selector official a
Lcm$a;a(Lciw;Ljava/lang/String;)Lcm$a;
intermediary method_22526
Lnet/minecraft/class_4559$class_4560;method_22526(Lnet/minecraft/class_2769;Ljava/lang/String;)Lnet/minecraft/class_4559$class_4560;
named exactMatch
Lnet/minecraft/predicate/StatePredicate$Builder;exactMatch(Lnet/minecraft/state/property/Property;Ljava/lang/String;)Lnet/minecraft/predicate/StatePredicate$Builder;
-
exactMatch
- Mappings:
Namespace Name Mixin selector official a
Lcm$a;a(Lciw;I)Lcm$a;
intermediary method_22524
Lnet/minecraft/class_4559$class_4560;method_22524(Lnet/minecraft/class_2769;I)Lnet/minecraft/class_4559$class_4560;
named exactMatch
Lnet/minecraft/predicate/StatePredicate$Builder;exactMatch(Lnet/minecraft/state/property/Property;I)Lnet/minecraft/predicate/StatePredicate$Builder;
-
exactMatch
- Mappings:
Namespace Name Mixin selector official a
Lcm$a;a(Lciw;Z)Lcm$a;
intermediary method_22527
Lnet/minecraft/class_4559$class_4560;method_22527(Lnet/minecraft/class_2769;Z)Lnet/minecraft/class_4559$class_4560;
named exactMatch
Lnet/minecraft/predicate/StatePredicate$Builder;exactMatch(Lnet/minecraft/state/property/Property;Z)Lnet/minecraft/predicate/StatePredicate$Builder;
-
exactMatch
public <T extends Comparable<T> & StringIdentifiable> StatePredicate.Builder exactMatch(Property<T> property, T value)- Mappings:
Namespace Name Mixin selector official a
Lcm$a;a(Lciw;Ljava/lang/Comparable;)Lcm$a;
intermediary method_22525
Lnet/minecraft/class_4559$class_4560;method_22525(Lnet/minecraft/class_2769;Ljava/lang/Comparable;)Lnet/minecraft/class_4559$class_4560;
named exactMatch
Lnet/minecraft/predicate/StatePredicate$Builder;exactMatch(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/predicate/StatePredicate$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Lcm$a;b()Lcm;
intermediary method_22528
Lnet/minecraft/class_4559$class_4560;method_22528()Lnet/minecraft/class_4559;
named build
Lnet/minecraft/predicate/StatePredicate$Builder;build()Lnet/minecraft/predicate/StatePredicate;
-