Delete Gems when dropped

Started by TheYoungRaven on

Topic category: Troubleshooting, bugs, and solutions

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Delete Gems when dropped

Hello everyone,

i have a mod that has fragile items in it. I want certain items to

change into different items when they are dropped by a player.

Spawning a new Gem worked but i cant get the old Gem to delete itself.

Thanks in advance

Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can u explain better? you…
Sat, 04/03/2021 - 14:09

can u explain better? you want to drop the item and then replace it with another item? why xD? You want to make a random item list so when you drop that item it replaces with a random item?

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The item is a "glass tube"…
Sat, 04/03/2021 - 18:47

The item is a "glass tube" and if it is dropped it should turn into a "broken glass tube".

This should give the impression that it hits the ground and breaks.

The items that have to change are not random, just one defined item into another defined item.

Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
in that case, i think that…
Sun, 04/04/2021 - 00:41

in that case, i think that the only way is running a command that kills all items in a radius.

try with ( execute console command at x y z ) "/kill @e[type=item,distance=.04]"