Solved Custom Item Not Dropping from Block.

Discussion in 'Plugin Development' started by dragonzuke, Oct 23, 2015.

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

    dragonzuke

  2. Offline

    ShadowLAX

    @dragonzuke Try using World#dropItemNaturally instead of adding it to the blocks drops.
     
  3. Offline

    dragonzuke

    @ShadowLAX The item is now dropping. Still have 2 problems:

    1) The credit is dropping at the center of 4 blocks, not where the ore was.
    2) The block is still dropping even though I cleared all drops.
     
  4. Offline

    ShadowLAX

    @dragonzuke
    1) Offset the location so it spawns in the middle of the block.
    2) BlockBreakEvent, check and cancel. Then set to air.
     
  5. Offline

    dragonzuke

Thread Status:
Not open for further replies.

Share This Page