if(e.getBlock().getType().equals(Material.LOG)){ e.getBlock().setType(Material.GLASS); for(BlockFace f :...
Sorry, I was assuming you where using his first if statement.
his code looks as efficient as it's gonna get, you're just checking if the lamp is off a second time, kinda pointless.
I don't just want to change the block the player breaks, I want to change all of the blocks of the same type around it.
So I wanna make it so when I break a wood block it turns it and all the other blocks touching it into glass [img] So if I broke a log in the...
This
I'm trying to make it so bedrock doesn't stack. When I do it for items, Field field = null; try { field =...
player.launchProjectile(WitherSkull.class) Anyway to change they type of head it shots? Like to a player head? or a creeper head?i Bump EDIT by...
Ya I solved it probably at the same time you posted that s: Thanks
https://gist.github.com/KingJesus/7852585 So I'm new to Java and I'm trying to figure out what's the problem with my code, Evey time I run it...
Separate names with a comma.