public class EnchantingPlusUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.creativetab.CreativeTabs |
tabEnchantingPlus
Access to the Enchanting Plus creative tab.
|
| Constructor and Description |
|---|
EnchantingPlusUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
blacklistEnchantment(net.minecraft.enchantment.Enchantment enchant)
Blacklists an Enchantment from being available on the Enchanting Plus table.
|
static void |
blacklistItem(net.minecraft.item.Item item)
Blacklists an Item from the Enchanting Plus enchantment table.
|
static void |
blacklistItem(net.minecraft.item.ItemStack stack)
Blacklists an ItemStack from the Enchanting Plus enchantment table.
|
static void |
setEnchantmentColor(net.minecraft.enchantment.EnumEnchantmentType type,
java.awt.Color color)
Sets the color of the ribbon used on enchanted scrolls which contain an enchantment
belonging to this type.
|
static void |
setEnchantmentColor(net.minecraft.enchantment.EnumEnchantmentType type,
int color)
Sets the color of the ribbon used on enchanted scrolls which contain an enchantment
belonging to this type.
|
public static net.minecraft.creativetab.CreativeTabs tabEnchantingPlus
public static void blacklistEnchantment(net.minecraft.enchantment.Enchantment enchant)
enchant: - The Enchantment to blacklist.public static void blacklistItem(net.minecraft.item.Item item)
item: - The Item to blacklist.public static void blacklistItem(net.minecraft.item.ItemStack stack)
stack: - The ItemStack to blacklist.public static void setEnchantmentColor(net.minecraft.enchantment.EnumEnchantmentType type,
java.awt.Color color)
type: - The EnumEnchantmentType to apply the color to.color: - The Color to associate with the EnumEnchantmentType.public static void setEnchantmentColor(net.minecraft.enchantment.EnumEnchantmentType type,
int color)
type: - The EnumEnchantmentType to apply this color to.color: - An RGB integer which represents the color to assign to the
EnumEnchantmentType.