Package net.minecraft.predicate.entity
Class EntityTypePredicate
java.lang.Object
net.minecraft.predicate.entity.EntityTypePredicate
- Direct Known Subclasses:
EntityTypePredicate.Single
,EntityTypePredicate.Tagged
- Mappings:
Namespace Name official bp
intermediary net/minecraft/class_2050
named net/minecraft/predicate/entity/EntityTypePredicate
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityTypePredicate
create
(EntityType<?> type) static EntityTypePredicate
create
(TagKey<EntityType<?>> tag) static EntityTypePredicate
fromJson
(@Nullable JsonElement json) abstract boolean
matches
(EntityType<?> type) abstract JsonElement
toJson()
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official a
Lbp;a:Lbp;
intermediary field_9609
Lnet/minecraft/class_2050;field_9609:Lnet/minecraft/class_2050;
named ANY
Lnet/minecraft/predicate/entity/EntityTypePredicate;ANY:Lnet/minecraft/predicate/entity/EntityTypePredicate;
-
COMMA_JOINER
- Mappings:
Namespace Name Mixin selector official b
Lbp;b:Lcom/google/common/base/Joiner;
intermediary field_9608
Lnet/minecraft/class_2050;field_9608:Lcom/google/common/base/Joiner;
named COMMA_JOINER
Lnet/minecraft/predicate/entity/EntityTypePredicate;COMMA_JOINER:Lcom/google/common/base/Joiner;
-
-
Constructor Details
-
EntityTypePredicate
public EntityTypePredicate()
-
-
Method Details
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lbp;a(Lbfl;)Z
intermediary method_8925
Lnet/minecraft/class_2050;method_8925(Lnet/minecraft/class_1299;)Z
named matches
Lnet/minecraft/predicate/entity/EntityTypePredicate;matches(Lnet/minecraft/entity/EntityType;)Z
-
toJson
- Mappings:
Namespace Name Mixin selector official a
Lbp;a()Lcom/google/gson/JsonElement;
intermediary method_8927
Lnet/minecraft/class_2050;method_8927()Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/predicate/entity/EntityTypePredicate;toJson()Lcom/google/gson/JsonElement;
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Lbp;a(Lcom/google/gson/JsonElement;)Lbp;
intermediary method_8928
Lnet/minecraft/class_2050;method_8928(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_2050;
named fromJson
Lnet/minecraft/predicate/entity/EntityTypePredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/entity/EntityTypePredicate;
-
create
- Mappings:
Namespace Name Mixin selector official b
Lbp;b(Lbfl;)Lbp;
intermediary method_8929
Lnet/minecraft/class_2050;method_8929(Lnet/minecraft/class_1299;)Lnet/minecraft/class_2050;
named create
Lnet/minecraft/predicate/entity/EntityTypePredicate;create(Lnet/minecraft/entity/EntityType;)Lnet/minecraft/predicate/entity/EntityTypePredicate;
-
create
- Mappings:
Namespace Name Mixin selector official a
Lbp;a(Lanv;)Lbp;
intermediary method_8926
Lnet/minecraft/class_2050;method_8926(Lnet/minecraft/class_6862;)Lnet/minecraft/class_2050;
named create
Lnet/minecraft/predicate/entity/EntityTypePredicate;create(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/predicate/entity/EntityTypePredicate;
-