Class CustomItemsManager.CustomItem
java.lang.Object
studio.magemonkey.codex.manager.LoadableItem
studio.magemonkey.divinity.modules.ModuleItem
studio.magemonkey.divinity.modules.list.customitems.CustomItemsManager.CustomItem
- All Implemented Interfaces:
Tiered
- Enclosing class:
CustomItemsManager
-
Field Summary
Fields inherited from class studio.magemonkey.divinity.modules.ModuleItem
armorTrim, attributes, color, durability, enchanted, enchants, flags, hash, isUnbreakable, lore, material, modelData, module, name, pluginFields inherited from class studio.magemonkey.codex.manager.LoadableItem
cfg, id, path -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringapplyLoreReplacements(String lore) This method just returns the same string by default, but can be overridden to apply custom replacements.protected voidprocessLore(studio.magemonkey.codex.config.api.JYML cfg, QModuleDrop<?> module) Methods inherited from class studio.magemonkey.divinity.modules.ModuleItem
build, build, create, getColor, getFlags, getLore, getMaterial, getModule, getName, isUnbreakable, saveMethods inherited from class studio.magemonkey.codex.manager.LoadableItem
getConfig, getFile, getId, save
-
Constructor Details
-
CustomItem
-
-
Method Details
-
applyLoreReplacements
Description copied from class:ModuleItemThis method just returns the same string by default, but can be overridden to apply custom replacements. For example,LeveledItemuses this to replace the item tier placeholders.- Overrides:
applyLoreReplacementsin classModuleItem- Parameters:
lore- The lore line to apply replacements to.- Returns:
- The lore line with replacements applied.
-
processLore
protected void processLore(@NotNull studio.magemonkey.codex.config.api.JYML cfg, @NotNull QModuleDrop<?> module) - Overrides:
processLorein classModuleItem
-