#How to make the item be given out in the slot that I choose

1 messages · Page 1 of 1 (latest)

hollow gull
#

How to make the item be given out in the slot that I choose, for example "slot1, slot2..."
here is script:
`import { world } from '@minecraft/server';

world.afterEvents.playerSpawn.subscribe(({ player, initialSpawn }) => {
if(!initialSpawn) return;
player.runCommand("clear")
player.runCommand("give @s minecraft:compass")
player.runCommand("give @s minecraft:enchanted_golden_apple")
});`

surreal steppe