1

Command block Help?

SloidVoid 5/18/18 1:21 am history
242
5/20/2018 3:34 pm
I'm looking for a command block creation that allows me to mine spawners in singleplayer.
I found "http://onecmd.com/cmd/better-spawners-updated" but when I put it into a command block and power it nothing happens. What can be done to fix it or is there a replacement?

Update: By "Mine spawners" I mean I want to be able to pick them up as an item.
Posted by
SloidVoid
Level 9 : Apprentice Crafter
1

  Have something to say?

JoinSign in

6

garlicbreathinator
05/20/2018 3:34 pm
Level 33 : Artisan Loremaster owo
Using the snapshots for 1.13, you can detect when a player uses a silktouch pick to destroy a spawner pretty easily:
/scoreboard objectives add brokespawner (broke spawner) then repeat this every tick: /execute as @a[nbt:{(current item has silktouch)},scores={brokespawner=1}], at @p run /give @p minecraft:spawner. However, there is no method to detect what type of spawner was broken.

Here's what I would recommend:
-breaking a spawner gives an empty spawner
-throw 64 flesh/bones/string/blazerods on top of a spawner to "fill" the spawner with zombies/skeletons/spiders/blazes
-since silverfish don't have a unique drop, throw 64 stone instead
-other mobs could be a bit OP, but you can still add them if you want. You might slow down the spawn rate of slimes/magma cubes.
1
SloidVoid
05/18/2018 5:17 pm
Level 9 : Apprentice Crafter
Something along the lines of this:

+Test for diamond pick with silk touch
>Test for being on top of a spawner
>Test for facing down
>test for the block being destroyed
>give the player a monster spawner
1
ItsDaCreeperOfficial
05/18/2018 8:18 am
Level 28 : Expert Creeper
I don't know if this will work (It may only work in adventure mode): /give @s diamond_pickaxe 1 0 {"can_destroy":{"blocks":["spawner"]}} or /give @s diamond_pickaxe 1 0 {CanDestroy:["minecraft:spawner"]}
1
SloidVoid
05/18/2018 2:54 pm
Level 9 : Apprentice Crafter
history
Neither of those worked. I don't want to just break the spawners, I can do that in singleplayer already. I want to mine it and get the item from it...
1
BartTheBart
05/18/2018 1:47 pm
Level 9 : Apprentice System
Isnt that just to be able to destroy the spawner in adventure mode? I havent tested it, but as far as i know that wont make the spawner drop after being mined. It just makes it breakable in gm 2
1
spychicken123
05/18/2018 1:45 pm
Level 43 : Master Taco
im think its the second one.
1

Welcome