Delete Gems when dropped

Started by TheYoungRaven on Mon, 03/29/2021 - 18:16

Topic category: Troubleshooting, bugs, and solutions

Last seen on 21:08, 29. Apr 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Delete Gems when dropped
Mon, 03/29/2021 - 18:16

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

Last seen on 17:30, 4. May 2021
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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?

Last seen on 21:08, 29. Apr 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 17:30, 4. May 2021
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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]"