Uses of Enum Class
net.minecraft.world.item.enchantment.EnchantmentCategory
Package
Description
-
Uses of EnchantmentCategory in net.minecraft.world.item
Modifier and TypeMethodDescriptionprivate static void
CreativeModeTabs.generateEnchantmentBookTypesAllLevels
(CreativeModeTab.Output p_270961_, HolderLookup<Enchantment> p_270628_, Set<EnchantmentCategory> p_271024_, CreativeModeTab.TabVisibility p_270805_) private static void
CreativeModeTabs.generateEnchantmentBookTypesOnlyMaxLevel
(CreativeModeTab.Output p_270868_, HolderLookup<Enchantment> p_270903_, Set<EnchantmentCategory> p_270380_, CreativeModeTab.TabVisibility p_270407_) -
Uses of EnchantmentCategory in net.minecraft.world.item.enchantment
Modifier and TypeMethodDescriptionstatic EnchantmentCategory
static EnchantmentCategory
Returns the enum constant of this class with the specified name.static EnchantmentCategory[]
EnchantmentCategory.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionprotected
Enchantment
(Enchantment.Rarity p_44676_, EnchantmentCategory p_44677_, EquipmentSlot[] p_44678_) protected
FishingSpeedEnchantment
(Enchantment.Rarity p_45004_, EnchantmentCategory p_45005_, EquipmentSlot... p_45006_) protected
LootBonusEnchantment
(Enchantment.Rarity p_45087_, EnchantmentCategory p_45088_, EquipmentSlot... p_45089_) -
Uses of EnchantmentCategory in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault boolean
IEnchantmentExtension.allowedInCreativeTab
(Item book, Set<EnchantmentCategory> allowedCategories) Determines whether item variants of this enchantment can be added to a given creative tab with the allowed categories. -
Uses of EnchantmentCategory in net.neoforged.neoforge.debug.gameplay.loot
ModifierConstructorDescriptionprotected
SmelterEnchantment
(Enchantment.Rarity rarityIn, EnchantmentCategory typeIn, EquipmentSlot... slots)