Class Tags
java.lang.Object
johnsmith.enchantingoverhauled.api.tag.Tags
Central holder for custom
TagKey definitions used by Enchanting Overhauled
across items, blocks, entity types, and biomes.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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 (EnchantedBookEntityandEnchantedTomeEntity) 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 byMagicMissileEntityprojectiles.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 whereEnchantedBookEntitymobs can naturally spawn.static final net.minecraft.tags.TagKey<net.minecraft.world.damagesource.DamageType> DamageType tag identifying damage types whichEnchantedTomeItemis immune to. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ENCHANTING_FUEL
public static final net.minecraft.tags.TagKey<net.minecraft.world.item.Item> ENCHANTING_FUELItem 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_SOURCEItem 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_SOURCEItem 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_MELEEItem 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_RANGEDItem 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_AMMUNITIONItem 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_TARGETBlock tag identifying blocks that flying arcane books (EnchantedBookEntityandEnchantedTomeEntity) 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_MISSILEEntity type tag identifying entities that cannot be hit or damaged byMagicMissileEntityprojectiles.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_ALLIESEntity 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_NEUTRALEntity 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_COLLATERALEntity 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_BOOKBiome tag identifying biomes whereEnchantedBookEntitymobs 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_TYPEDamageType tag identifying damage types whichEnchantedTomeItemis immune to.Tag ID:
#enchanting_overhauled:item/enchanted_tome/immune_damage_type
-
-
Constructor Details
-
Tags
public Tags()
-