Microsoft MakeCode

Cheats

Requires at least the nether update

code in javascript is:
blocks.onBlockPlaced(DIRT, function () {
agent.setItem(DIAMOND_PICKAXE, 1, 1)
agent.teleportToPlayer()
agent.dropAll(UP)
})
loops.forever(function () {
mobs.enchant(
mobs.target(ALL_PLAYERS),
“efficiency”,
5
)
})
blocks.onBlockBroken(DEAD_TUBE_CORAL_BLOCK, function () {
mobs.applyEffect(HASTE, mobs.target(ALL_PLAYERS), 1000, 255)
shapes.sphere(
blocks.blockByName(“minecraft:netherite_block”),
agent.getPosition(),
999,
ShapeOperation.Replace
)
})
agent.teleportToPlayer()
agent.setItem(MILK, 1, 1)
agent.setItem(TUBE_CORAL_BLOCK, 1, 2)
agent.dropAll(UP)