Package net.minecraft.predicate.entity
Class EntityTypePredicate.Tagged
java.lang.Object
net.minecraft.predicate.entity.EntityTypePredicate
net.minecraft.predicate.entity.EntityTypePredicate.Tagged
- Enclosing class:
- EntityTypePredicate
static class EntityTypePredicate.Tagged extends EntityTypePredicate
- Mappings:
Namespace Name official bh$aintermediary net/minecraft/class_2050$class_2051named net/minecraft/predicate/entity/EntityTypePredicate$Tagged
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.predicate.entity.EntityTypePredicate
EntityTypePredicate.Single, EntityTypePredicate.Tagged -
Field Summary
Fields Modifier and Type Field Description private Tag<EntityType<?>>tagFields inherited from class net.minecraft.predicate.entity.EntityTypePredicate
ANY -
Constructor Summary
Constructors Constructor Description Tagged(Tag<EntityType<?>> tag) -
Method Summary
Modifier and Type Method Description booleanmatches(EntityType<?> type)JsonElementtoJson()Methods inherited from class net.minecraft.predicate.entity.EntityTypePredicate
create, create, fromJson
-
Field Details
-
tag
- Mappings:
Namespace Name Mixin selector official bLbh$a;b:Lafc;intermediary field_9610Lnet/minecraft/class_2050$class_2051;field_9610:Lnet/minecraft/class_3494;named tagLnet/minecraft/predicate/entity/EntityTypePredicate$Tagged;tag:Lnet/minecraft/tag/Tag;
-
-
Constructor Details
-
Tagged
- Mappings:
Namespace Name Mixin selector official <init>Lbh$a;<init>(Lafc;)Vintermediary <init>Lnet/minecraft/class_2050$class_2051;<init>(Lnet/minecraft/class_3494;)Vnamed <init>Lnet/minecraft/predicate/entity/EntityTypePredicate$Tagged;<init>(Lnet/minecraft/tag/Tag;)V
-
-
Method Details
-
matches
- Specified by:
matchesin classEntityTypePredicate- Mappings:
Namespace Name Mixin selector official aLbh;a(Laqy;)Zintermediary method_8925Lnet/minecraft/class_2050;method_8925(Lnet/minecraft/class_1299;)Znamed matchesLnet/minecraft/predicate/entity/EntityTypePredicate;matches(Lnet/minecraft/entity/EntityType;)Z
-
toJson
- Specified by:
toJsonin classEntityTypePredicate- Mappings:
Namespace Name Mixin selector official aLbh;a()Lcom/google/gson/JsonElement;intermediary method_8927Lnet/minecraft/class_2050;method_8927()Lcom/google/gson/JsonElement;named toJsonLnet/minecraft/predicate/entity/EntityTypePredicate;toJson()Lcom/google/gson/JsonElement;
-