#popResource example?
9 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
minecraftLevel and minecraftPlayer is <1.18, just use level or player
if your event have event.block, you can use event.block.popItem(loot)
as for popResource, just fix level and player as I said and it will work
oh i will try it
is there a easy way to drop between 1 and 3 of an item?
event.block.popItem('minecraft:diamond')
let random_number = Math.floor(Math.random() * 3) + 1
event.block.popItem(random_number + 'x minecraft:diamond')
thanks