How do you enchant a pickaxe to luck 1000 in minecraft 1.15.1?

ri
- in Servers
4

I want to start a server with a pickaxe with a luck of 1000 with my friend but the old commands do not work

Pi

/ enchant player minecraft: fortune level
If it doesn't work: make the level a little less and try again until it works

Be

This only works with enchantment levels that you get in the anvil

Be

/ give @p minecraft: diamond_pickaxe {Enchantments: [{id: "minecraft: fortune", lvl: 1000s}]} 1

Pi

Oh, I didn't know