#How to remove an item dropout

3 messages · Page 1 of 1 (latest)

spark forum
#

I need to remove the dropout of an item when breaking an entity. For example boats. I don't understand why the following code doesn't work. The file is located in the Server script

EntityEvents.death('minecraft:oak_boat', event => {
event.cancel()
})

mighty zincBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

past crest
#

that would um, only prevent boat from dying lol. boat also isn’t an entity