Uses of Enum Class
net.minecraft.world.item.enchantment.EnchantmentCategory
Packages that use EnchantmentCategory
Package
Description
-
Uses of EnchantmentCategory in net.minecraft.world.item
Method parameters in net.minecraft.world.item with type arguments of type EnchantmentCategoryModifier 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
Fields in net.minecraft.world.item.enchantment declared as EnchantmentCategoryMethods in net.minecraft.world.item.enchantment that return EnchantmentCategoryModifier 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.Constructors in net.minecraft.world.item.enchantment with parameters of type EnchantmentCategoryModifierConstructorDescriptionprotected
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.minecraftforge.common.extensions
Method parameters in net.minecraftforge.common.extensions with type arguments of type EnchantmentCategoryModifier and TypeMethodDescriptiondefault boolean
IForgeEnchantment.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.minecraftforge.debug.gameplay.loot
Constructors in net.minecraftforge.debug.gameplay.loot with parameters of type EnchantmentCategoryModifierConstructorDescriptionprotected
SmelterEnchantment
(Enchantment.Rarity rarityIn, EnchantmentCategory typeIn, EquipmentSlot... slots)