java.lang.Object
johnsmith.enchantingoverhauled.api.tag.Tags

public class Tags extends Object
Central holder for custom TagKey definitions used by Enchanting Overhauled across items, blocks, entity types, and biomes.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.tags.TagKey<net.minecraft.world.item.Item>
    Item tag grouping all ammunition items (such as Arrows and Firework Rockets) affected by the adapted Infinity enchantment.
    static final net.minecraft.tags.TagKey<net.minecraft.world.item.Item>
    Item tag grouping all melee weapons and tools eligible for melee damage enchantments (such as Sharpness, Smite, Bane of Arthropods, and Impaling).
    static final net.minecraft.tags.TagKey<net.minecraft.world.item.Item>
    Item tag grouping all ranged weapons (such as Bows and Crossbows) eligible for ranged enchantments (such as Power, Punch, Flame, Infinity, Multishot, Piercing, and Quick Charge).
    static final net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>
    Block tag identifying blocks that flying arcane books (EnchantedBookEntity and EnchantedTomeEntity) seek out to roost on or shelve into when idle.
    static final net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>>
    Entity type tag identifying entities treated as allies by Enchanted Tomes and Enchanted Books for targeting, rallying, and supportive spellcasting.
    static final net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>>
    Entity type tag identifying entities (such as Creepers, Bosses, and Golems) that flying books avoid hitting as collateral damage when casting area-of-effect spells.
    static final net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>>
    Entity type tag identifying neutral or passive entities that Enchanted Tomes and Enchanted Books will not target or provoke against, and that are protected from offensive AI spell fields.
    static final net.minecraft.tags.TagKey<net.minecraft.world.item.Item>
    Item tag identifying items that can be used as enchanting fuel in the Enchanting Altar, Scribe Menu, and Tome Bartering (e.g., Lapis Lazuli).
    static final net.minecraft.tags.TagKey<net.minecraft.world.item.Item>
    Item tag identifying fleeting enchantment sources (such as Enchanted Pages) that hold a single minimum-level enchantment and are completely consumed/reverted upon use.
    static final net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>>
    Entity type tag identifying entities that cannot be hit or damaged by MagicMissileEntity projectiles.
    static final net.minecraft.tags.TagKey<net.minecraft.world.item.Item>
    Item tag identifying persistent enchantment sources (such as Enchanted Tomes) that are not consumed when transferring or scribing enchantments and are exempt from default obfuscation.
    static final net.minecraft.tags.TagKey<net.minecraft.world.level.biome.Biome>
    Biome tag identifying biomes where EnchantedBookEntity mobs can naturally spawn.
    static final net.minecraft.tags.TagKey<net.minecraft.world.damagesource.DamageType>
    DamageType tag identifying damage types which EnchantedTomeItem is immune to.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ENCHANTING_FUEL

      public static final net.minecraft.tags.TagKey<net.minecraft.world.item.Item> ENCHANTING_FUEL
      Item tag identifying items that can be used as enchanting fuel in the Enchanting Altar, Scribe Menu, and Tome Bartering (e.g., Lapis Lazuli).

      Tag ID: #enchanting_overhauled:enchanting_fuel

    • PERSISTENT_ENCHANTMENT_SOURCE

      public static final net.minecraft.tags.TagKey<net.minecraft.world.item.Item> PERSISTENT_ENCHANTMENT_SOURCE
      Item tag identifying persistent enchantment sources (such as Enchanted Tomes) that are not consumed when transferring or scribing enchantments and are exempt from default obfuscation.

      Tag ID: #enchanting_overhauled:enchantment_source/persistent

    • FLEETING_ENCHANTMENT_SOURCE

      public static final net.minecraft.tags.TagKey<net.minecraft.world.item.Item> FLEETING_ENCHANTMENT_SOURCE
      Item tag identifying fleeting enchantment sources (such as Enchanted Pages) that hold a single minimum-level enchantment and are completely consumed/reverted upon use.

      Tag ID: #enchanting_overhauled:enchantment_source/fleeting

    • ALL_MELEE

      public static final net.minecraft.tags.TagKey<net.minecraft.world.item.Item> ALL_MELEE
      Item tag grouping all melee weapons and tools eligible for melee damage enchantments (such as Sharpness, Smite, Bane of Arthropods, and Impaling).

      Tag ID: #enchanting_overhauled:enchantable/all_melee

    • ALL_RANGED

      public static final net.minecraft.tags.TagKey<net.minecraft.world.item.Item> ALL_RANGED
      Item tag grouping all ranged weapons (such as Bows and Crossbows) eligible for ranged enchantments (such as Power, Punch, Flame, Infinity, Multishot, Piercing, and Quick Charge).

      Tag ID: #enchanting_overhauled:enchantable/all_ranged

    • ALL_AMMUNITION

      public static final net.minecraft.tags.TagKey<net.minecraft.world.item.Item> ALL_AMMUNITION
      Item tag grouping all ammunition items (such as Arrows and Firework Rockets) affected by the adapted Infinity enchantment.

      Tag ID: #enchanting_overhauled:all_ammunition

    • ENCHANTED_BOOK_IDLE_TARGET

      public static final net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> ENCHANTED_BOOK_IDLE_TARGET
      Block tag identifying blocks that flying arcane books (EnchantedBookEntity and EnchantedTomeEntity) seek out to roost on or shelve into when idle.

      Tag ID: #enchanting_overhauled:enchanted_book_idle_target

    • IMMUNE_TO_MAGIC_MISSILE

      public static final net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>> IMMUNE_TO_MAGIC_MISSILE
      Entity type tag identifying entities that cannot be hit or damaged by MagicMissileEntity projectiles.

      Tag ID: #enchanting_overhauled:immune_to_magic_missile

    • ENCHANTED_TOME_ALLIES

      public static final net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>> ENCHANTED_TOME_ALLIES
      Entity type tag identifying entities treated as allies by Enchanted Tomes and Enchanted Books for targeting, rallying, and supportive spellcasting.

      Tag ID: #enchanting_overhauled:enchanted_tome_allies

    • ENCHANTED_TOME_NEUTRAL

      public static final net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>> ENCHANTED_TOME_NEUTRAL
      Entity type tag identifying neutral or passive entities that Enchanted Tomes and Enchanted Books will not target or provoke against, and that are protected from offensive AI spell fields.

      Tag ID: #enchanting_overhauled:enchanted_tome_neutral

    • ENCHANTED_TOME_AVOID_COLLATERAL

      public static final net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>> ENCHANTED_TOME_AVOID_COLLATERAL
      Entity type tag identifying entities (such as Creepers, Bosses, and Golems) that flying books avoid hitting as collateral damage when casting area-of-effect spells.

      Tag ID: #enchanting_overhauled:enchanted_tome_avoid_collateral

    • SPAWNS_ENCHANTED_BOOK

      public static final net.minecraft.tags.TagKey<net.minecraft.world.level.biome.Biome> SPAWNS_ENCHANTED_BOOK
      Biome tag identifying biomes where EnchantedBookEntity mobs can naturally spawn.

      Tag ID: #enchanting_overhauled:spawns_enchanted_book

    • TOME_IMMUNE_DAMAGE_TYPE

      public static final net.minecraft.tags.TagKey<net.minecraft.world.damagesource.DamageType> TOME_IMMUNE_DAMAGE_TYPE
      DamageType tag identifying damage types which EnchantedTomeItem is immune to.

      Tag ID: #enchanting_overhauled:item/enchanted_tome/immune_damage_type

  • Constructor Details

    • Tags

      public Tags()