#Mineable Spawners

1 messages · Page 1 of 1 (latest)

vital rose
#

When this datapack is loaded into a realms map, this DOES work for the most part, however:

/scoreboard players set &break_spawner config.mineablespawner 0
/scoreboard players set &break_spawner config.mineablespawner 1
/scoreboard players set &break_spawner config.mineablespawner 2
/scoreboard players set &break_spawner config.mineablespawner 3

Value 1: when you try to mine the spawner with a silk touch pickaxe, it isn't dropping the spawner, but when setting the value to 0 to break it with ANY pickaxe, it does pick up.

  • Value 0: (Any Pickaxe) works as intended. (But may not be intentionally <sheer luck>, as the others aren't working as intentional)

Value 2: (with any tool or by hand) does 'NOT' allow you to pick it up with any tool / hand but it does allow pickaxes in general (Not just silk touch)

Value 3 (Doesn't Drop) is also with any pickaxe.

vital rose
#

Edit: Forgot to mention, this is in 1.21 (latest version)

primal vapor
#

Thanks for the report, Ill look into it when I have time

primal vapor
#

I came to the conclusion that I made a mistake, as in minecraft it's hardcoded that when a spawner is not mined with a pickaxe, the loot table is not called

#

so I have to remove the setting that you can mine the spawner with any tool or by hand, at least for now until I've found a way around it