Class ConventionalEntityTypeTags

java.lang.Object
net.fabricmc.fabric.api.tag.convention.v2.ConventionalEntityTypeTags

public final class ConventionalEntityTypeTags extends Object
See EntityTypeTags for vanilla tags. Note that addition to some vanilla tags implies having certain functionality.
  • Field Details

    • BOSSES

      public static final TagKey<EntityType<?>> BOSSES
      Tag containing entity types that display a boss health bar.
    • MINECARTS

      public static final TagKey<EntityType<?>> MINECARTS
    • BOATS

      public static final TagKey<EntityType<?>> BOATS
    • CAPTURING_NOT_SUPPORTED

      public static final TagKey<EntityType<?>> 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

      public static final TagKey<EntityType<?>> 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.