Prevent Vanilla Blocks from Dropping Items

Started by Maerk716 on Wed, 05/06/2020 - 15:39

Topic category: Help with MCreator software

Last seen on 21:57, 12. May 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Prevent Vanilla Blocks from Dropping Items
Wed, 05/06/2020 - 15:39

Hello, I am trying to make a mod where some vanilla blocks do not drop items, and spawn an entity instead. I have tried using the /kill command, but that is not working, and I have also tried "depawn provided entity," but since the trigger is "BrokenBlock" the provided entity is the player. Is there a way to change what the provided entity is, or is there another way to either prevent the block from dropping an item, or delete the item as soon as it drops?