More blocks be added to /cb set setblock


Ok I was making a way for nobody to have to play as the Puppet (Marionette) in my FNAF2 map, while making it I relized it was impossible! Why? You can't have /cb set setblock place down redstone repeaters, armor stands, and I'm sure that there are lots of other blocks that can't be placed.

My suggestion is that we can use every block for /cb set setblock (Besides the banned blocks like beacons).

I think it would help make a lot more possibilities for people who use the command block such as myself.

PS: The blocks aren't placed in the co-ords that were placed in the CB (Ex: I tried making a slime block being placed in 1857 78 -3645(These aren't the co-ord I used) but it wasn't placed there) this needs to be fixed.

Thanks for reading -Josh 


NOVA!


TheNinjaOshawott

Rank: VIP

Posts: 1143


I'm coming on to look into this now.

Edit: I can't recreate this bug. If you stand where you want the block to be put, type /getpos and enter those coordinates into the command block, it works without any issues. Let me know if it still doesn't work for you.


Puttemulle

Rank: Owner

Posts: 1746


To answer your other concern, if the command says "Material must be a block," then that means that the material you've entered isn't handled as a block and therefore cannot be placed as one.

In the case of redstone repeaters, the item is not the same as the block. To set a redstone repeater using a command block, use diode_block_on or diode_block_off instead of repeater. Also, the rotation of the repeater can be set with diode_block_off:1, diode_block_off:2 and so on.

Armor stands are handled as entities instead of blocks which means they must be spawned and cannot be placed like a regular block.

For a full list of available materials, see https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html

Note that not all these materials are handled as blocks. If you're having trouble finding a specific block, feel free to ask and I'll help to the best of my ability. :)


Puttemulle

Rank: Owner

Posts: 1746


Speaking of entities, maybe it would be cool to add a /commandblock set summon command. It wouldn't summon mobs or other entities that aren't allowed, but it woulld be cool to be able to summon an armor stand or a minecart with a block riding in it or what not, just things that you can usually make in game.


minigun800

Rank: Player

Posts: 67


I agree! :D


NOVA!


TheNinjaOshawott

Rank: VIP

Posts: 1143


Sounds like a good idea! I'll have to limit it though, so a redstone clock doesn't spawn thousands of armor stands in the same location. :)

Adding this to the to-do list.


Puttemulle

Rank: Owner

Posts: 1746

Please log in if you want to reply to topics.