ItemModelUpgradeListener

public class ItemModelUpgradeListener implements Listener

Gives authored FMM items the display model they were made without. An item keeps the item model stamped when it was created, so a wand handed out while the bundled wand had no model, or before a server added one, stayed a vanilla blaze rod. Items that already name a model are left alone.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public void onHeld(PlayerItemHeldEvent event)
Link copied to clipboard
public void onJoin(PlayerJoinEvent event)
Link copied to clipboard
public void onPickup(EntityPickupItemEvent event)
Link copied to clipboard
public void onSwap(PlayerSwapHandItemsEvent event)