I want to start a server with a pickaxe with a luck of 1000 with my friend but the old commands do not work
/ enchant player minecraft: fortune level
If it doesn't work: make the level a little less and try again until it works
This only works with enchantment levels that you get in the anvil
/ give @p minecraft: diamond_pickaxe {Enchantments: [{id: "minecraft: fortune", lvl: 1000s}]} 1
Oh, I didn't know