Interface ItemMetaModifier
public interface ItemMetaModifier
An interface that defines ItemMeta modifications that are platform specific
-
Method Summary
Modifier and TypeMethodDescriptionvoidmodifyMeta(@NotNull org.bukkit.inventory.meta.ItemMeta meta, @Nullable org.bukkit.entity.Player player) Modifies the given ItemMeta.voidmodifyMeta(@NotNull org.bukkit.inventory.meta.ItemMeta meta, @Nullable org.bukkit.entity.Player player, @Nullable Object arg) Modifies the given ItemMeta.
-
Method Details
-
modifyMeta
void modifyMeta(@NotNull @NotNull org.bukkit.inventory.meta.ItemMeta meta, @Nullable @Nullable org.bukkit.entity.Player player) Modifies the given ItemMeta.- Parameters:
meta- The ItemMeta to modifyplayer- The player that was given in the context or null
-
modifyMeta
void modifyMeta(@NotNull @NotNull org.bukkit.inventory.meta.ItemMeta meta, @Nullable @Nullable org.bukkit.entity.Player player, @Nullable @Nullable Object arg) Modifies the given ItemMeta.- Parameters:
meta- The ItemMeta to modifyplayer- The player that was given in the context or null
-