I'm trying Code (Text): Location loc_0 = new Location(w, 0, 82, 14); Block a = w.getBlockAt(loc_0); a.setType(Material.SPRUCE_FENCE); But it is not doing anything, So am I using it wrong or is it the wrong method
Your naming conventions is the reason cancer is still a big issue http://www.oracle.com/technetwork/java/codeconventions-135099.html
They aren't my final names, and anyways it is my plugin, so I'll code it in the way that makes the most sense to me.
You'll code the way that makes sense to you, I guess that's why some people should code in bytecode huh
because they are over 20 blocks that i am trying to place and it made most sense to organize them by letter at the time and by not being final, I mean that i will change the names to the acceptable way after i get it working.
There are these things called loops. They are absolutely magical and make code much nicer and more efficient. >.> If you hard code the placement of 20 blocks I'm going to cry.
Try: Code (Text): Location loc = new Location(w, 0, 82, 14); w.getBlockAt(loc).setType(Material.SPRUCE_FENCE);