net.minecraft.predicate.entity

public record EntityTypePredicate

net.minecraft.advancements.criterion.EntityTypePredicate
net.minecraft.class_2050
net.minecraft.predicate.entity.EntityTypePredicate

Field summary

Modifier and TypeField
private final RegistryEntryList<EntityType<?>>
types
comp_1775
types
public static final com.mojang.serialization.Codec<EntityTypePredicate>
CODEC
field_45749
CODEC

Constructor summary

ModifierConstructor
public (RegistryEntryList<EntityType<?>> types)

Method summary

Modifier and TypeMethod
public static EntityTypePredicate
of(HolderGetter<EntityType<?>> lookup, EntityType<?> type)
method_8929(class_7871<class_1299<?>> arg0, class_1299<?> arg1)
create(RegistryEntryLookup<EntityType<?>> entityTypeRegistry, EntityType<?> type)
public static EntityTypePredicate
of(HolderGetter<EntityType<?>> lookup, TagKey<EntityType<?>> type)
method_8926(class_7871<class_1299<?>> arg0, class_6862<class_1299<?>> arg1)
create(RegistryEntryLookup<EntityType<?>> entityTypeRegistry, TagKey<EntityType<?>> tag)
public boolean
matches(Holder<EntityType<?>> type)
method_8925(class_6880<class_1299<?>> arg0)
matches(RegistryEntry<EntityType<?>> arg0)
public RegistryEntryList<EntityType<?>>
types()
comp_1775()
types()