Package net.okocraft.box.api.event.item
Class CustomItemRenameEvent
java.lang.Object
net.okocraft.box.api.event.BoxEvent
net.okocraft.box.api.event.item.ItemEvent
net.okocraft.box.api.event.item.CustomItemRenameEvent
An event that is called when a new
BoxCustomItem
has been renamed.-
Constructor Summary
ConstructorDescriptionCustomItemRenameEvent
(@NotNull BoxCustomItem renamedItem, @NotNull String previousName) The constructor of aCustomItemRenameEvent
. -
Method Summary
Methods inherited from class net.okocraft.box.api.event.BoxEvent
toDebugLog
-
Constructor Details
-
CustomItemRenameEvent
public CustomItemRenameEvent(@NotNull @NotNull BoxCustomItem renamedItem, @NotNull @NotNull String previousName) The constructor of aCustomItemRenameEvent
.- Parameters:
renamedItem
- a renamed itempreviousName
- a previous name of the item
-
-
Method Details