Class EnchantmentTagKeys
java.lang.Object
io.papermc.paper.registry.keys.tags.EnchantmentTagKeys
Vanilla tag keys for
RegistryKey.ENCHANTMENT.- API Note:
- The fields provided here are a direct representation of what is available from the vanilla game source. They may be changed (including removals) on any Minecraft version bump, so cross-version compatibility is not provided on the same level as it is on most of the other API.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TagKey<Enchantment> #minecraft:cursestatic final TagKey<Enchantment> #minecraft:double_trade_pricestatic final TagKey<Enchantment> #minecraft:exclusive_set/armorstatic final TagKey<Enchantment> #minecraft:exclusive_set/bootsstatic final TagKey<Enchantment> #minecraft:exclusive_set/bowstatic final TagKey<Enchantment> #minecraft:exclusive_set/crossbowstatic final TagKey<Enchantment> #minecraft:exclusive_set/damagestatic final TagKey<Enchantment> #minecraft:exclusive_set/miningstatic final TagKey<Enchantment> #minecraft:exclusive_set/riptidestatic final TagKey<Enchantment> #minecraft:in_enchanting_tablestatic final TagKey<Enchantment> #minecraft:non_treasurestatic final TagKey<Enchantment> #minecraft:on_mob_spawn_equipmentstatic final TagKey<Enchantment> #minecraft:on_random_lootstatic final TagKey<Enchantment> #minecraft:on_traded_equipmentstatic final TagKey<Enchantment> #minecraft:prevents_bee_spawns_when_miningstatic final TagKey<Enchantment> #minecraft:prevents_decorated_pot_shatteringstatic final TagKey<Enchantment> #minecraft:prevents_ice_meltingstatic final TagKey<Enchantment> #minecraft:prevents_infested_spawnsstatic final TagKey<Enchantment> #minecraft:smelts_lootstatic final TagKey<Enchantment> #minecraft:tooltip_orderstatic final TagKey<Enchantment> #minecraft:tradeablestatic final TagKey<Enchantment> #minecraft:trades/desert_commonstatic final TagKey<Enchantment> #minecraft:trades/desert_specialstatic final TagKey<Enchantment> #minecraft:trades/jungle_commonstatic final TagKey<Enchantment> #minecraft:trades/jungle_specialstatic final TagKey<Enchantment> #minecraft:trades/plains_commonstatic final TagKey<Enchantment> #minecraft:trades/plains_specialstatic final TagKey<Enchantment> #minecraft:trades/savanna_commonstatic final TagKey<Enchantment> #minecraft:trades/savanna_specialstatic final TagKey<Enchantment> #minecraft:trades/snow_commonstatic final TagKey<Enchantment> #minecraft:trades/snow_specialstatic final TagKey<Enchantment> #minecraft:trades/swamp_commonstatic final TagKey<Enchantment> #minecraft:trades/swamp_specialstatic final TagKey<Enchantment> #minecraft:trades/taiga_commonstatic final TagKey<Enchantment> #minecraft:trades/taiga_specialstatic final TagKey<Enchantment> #minecraft:treasure -
Method Summary
Modifier and TypeMethodDescriptionstatic TagKey<Enchantment> Creates a tag key forEnchantmentin the registryminecraft:enchantment.
-
Field Details
-
CURSE
#minecraft:curse- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
DOUBLE_TRADE_PRICE
#minecraft:double_trade_price- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
EXCLUSIVE_SET_ARMOR
#minecraft:exclusive_set/armor- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
EXCLUSIVE_SET_BOOTS
#minecraft:exclusive_set/boots- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
EXCLUSIVE_SET_BOW
#minecraft:exclusive_set/bow- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
EXCLUSIVE_SET_CROSSBOW
#minecraft:exclusive_set/crossbow- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
EXCLUSIVE_SET_DAMAGE
#minecraft:exclusive_set/damage- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
EXCLUSIVE_SET_MINING
#minecraft:exclusive_set/mining- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
EXCLUSIVE_SET_RIPTIDE
#minecraft:exclusive_set/riptide- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
IN_ENCHANTING_TABLE
#minecraft:in_enchanting_table- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
NON_TREASURE
#minecraft:non_treasure- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
ON_MOB_SPAWN_EQUIPMENT
#minecraft:on_mob_spawn_equipment- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
ON_RANDOM_LOOT
#minecraft:on_random_loot- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
ON_TRADED_EQUIPMENT
#minecraft:on_traded_equipment- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
PREVENTS_BEE_SPAWNS_WHEN_MINING
#minecraft:prevents_bee_spawns_when_mining- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
PREVENTS_DECORATED_POT_SHATTERING
#minecraft:prevents_decorated_pot_shattering- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
PREVENTS_ICE_MELTING
#minecraft:prevents_ice_melting- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
PREVENTS_INFESTED_SPAWNS
#minecraft:prevents_infested_spawns- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
SMELTS_LOOT
#minecraft:smelts_loot- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TOOLTIP_ORDER
#minecraft:tooltip_order- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADEABLE
#minecraft:tradeable- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADES_DESERT_COMMON
@Experimental @MinecraftExperimental(TRADE_REBALANCE) public static final TagKey<Enchantment> TRADES_DESERT_COMMON#minecraft:trades/desert_common- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADES_DESERT_SPECIAL
@Experimental @MinecraftExperimental(TRADE_REBALANCE) public static final TagKey<Enchantment> TRADES_DESERT_SPECIAL#minecraft:trades/desert_special- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADES_JUNGLE_COMMON
@Experimental @MinecraftExperimental(TRADE_REBALANCE) public static final TagKey<Enchantment> TRADES_JUNGLE_COMMON#minecraft:trades/jungle_common- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADES_JUNGLE_SPECIAL
@Experimental @MinecraftExperimental(TRADE_REBALANCE) public static final TagKey<Enchantment> TRADES_JUNGLE_SPECIAL#minecraft:trades/jungle_special- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADES_PLAINS_COMMON
@Experimental @MinecraftExperimental(TRADE_REBALANCE) public static final TagKey<Enchantment> TRADES_PLAINS_COMMON#minecraft:trades/plains_common- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADES_PLAINS_SPECIAL
@Experimental @MinecraftExperimental(TRADE_REBALANCE) public static final TagKey<Enchantment> TRADES_PLAINS_SPECIAL#minecraft:trades/plains_special- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADES_SAVANNA_COMMON
@Experimental @MinecraftExperimental(TRADE_REBALANCE) public static final TagKey<Enchantment> TRADES_SAVANNA_COMMON#minecraft:trades/savanna_common- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADES_SAVANNA_SPECIAL
@Experimental @MinecraftExperimental(TRADE_REBALANCE) public static final TagKey<Enchantment> TRADES_SAVANNA_SPECIAL#minecraft:trades/savanna_special- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADES_SNOW_COMMON
@Experimental @MinecraftExperimental(TRADE_REBALANCE) public static final TagKey<Enchantment> TRADES_SNOW_COMMON#minecraft:trades/snow_common- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADES_SNOW_SPECIAL
@Experimental @MinecraftExperimental(TRADE_REBALANCE) public static final TagKey<Enchantment> TRADES_SNOW_SPECIAL#minecraft:trades/snow_special- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADES_SWAMP_COMMON
@Experimental @MinecraftExperimental(TRADE_REBALANCE) public static final TagKey<Enchantment> TRADES_SWAMP_COMMON#minecraft:trades/swamp_common- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADES_SWAMP_SPECIAL
@Experimental @MinecraftExperimental(TRADE_REBALANCE) public static final TagKey<Enchantment> TRADES_SWAMP_SPECIAL#minecraft:trades/swamp_special- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADES_TAIGA_COMMON
@Experimental @MinecraftExperimental(TRADE_REBALANCE) public static final TagKey<Enchantment> TRADES_TAIGA_COMMON#minecraft:trades/taiga_common- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRADES_TAIGA_SPECIAL
@Experimental @MinecraftExperimental(TRADE_REBALANCE) public static final TagKey<Enchantment> TRADES_TAIGA_SPECIAL#minecraft:trades/taiga_special- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TREASURE
#minecraft:treasure- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
-
Method Details
-
create
Creates a tag key forEnchantmentin the registryminecraft:enchantment.- Parameters:
key- the tag key's key- Returns:
- a new tag key
-