Ha, thank you but I was able to figure it out before you replied. And it works just fine.
How would I be able to get the player who is using a command? Because with CommandSender I can't get the location or blocks and whatnot.
Thank you for replying, but I already knew this, the problem isn't setting the torch to the on or off block, the problem is setting the torch to...
I'm trying to set a redstone torch off. Clearly there's more to it than just setting the type to redstone torch off. Do I need to set the data?
Or more completely, location.getBlock().setType(mat);
If there is no block in the location that's fine, it will still work.
You cannot create a new block. To do that, you would have to modify files inside the minecraft.jar to create the textures and such. Also a mod...
Ah I see, that makes sense, thank you. [diamond][diamond][diamond][diamond][diamond][diamond][diamond]
It still doesn't seem to be working. The...
I have no problem setting levers in the on state, but every time I try setting a lever off it turns out weird and glitched.
You don't spawn blocks, you change blocks, and all the blocks you ever need are there. In empty places there's a block called "air," so to create...
Separate names with a comma.