Is it possible to

Discussion in 'Plugin Development' started by alex3413, Jun 22, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    alex3413

    I was wondering if you could check when a player breaks a block it cancels the drop and changes it to a new one if the pickaxe they broke the block with has a lore of &8Smelt I
    Thanks
     
  2. Offline

    timtower Administrator Administrator Moderator

    MCMastery likes this.
  3. Offline

    alex3413

    How would one do it?
     
  4. Offline

    JBoss925

    Listen for the BlockBreakEvent, then you can either cancel the drops and manually spawn your own drops or just edit the drops that the block drops.
     
Thread Status:
Not open for further replies.

Share This Page