Class ConventionalEntityTypeTags
java.lang.Object
net.fabricmc.fabric.api.tag.convention.v2.ConventionalEntityTypeTags
See
EntityTypeTags
for vanilla tags.
Note that addition to some vanilla tags implies having certain functionality.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TagKey
<EntityType<?>> static final TagKey
<EntityType<?>> Tag containing entity types that display a boss health bar.static final TagKey
<EntityType<?>> Entities should be included in this tag if they are not allowed to be picked up by items or grabbed in a way that a player can easily move the entity to anywhere they want.static final TagKey
<EntityType<?>> static final TagKey
<EntityType<?>> Entities should be included in this tag if they are not allowed to be teleported in any way. -
Method Summary
-
Field Details
-
BOSSES
Tag containing entity types that display a boss health bar. -
MINECARTS
-
BOATS
-
CAPTURING_NOT_SUPPORTED
Entities should be included in this tag if they are not allowed to be picked up by items or grabbed in a way that a player can easily move the entity to anywhere they want. Ideal for special entities that should not be able to be put into a mob jar for example. -
TELEPORTING_NOT_SUPPORTED
Entities should be included in this tag if they are not allowed to be teleported in any way. This is more for mods that allow teleporting entities within the same dimension. Any mod that is teleporting entities to new dimensions should be checking canUsePortals method on the entity itself.
-