October 2014
Beginner to intermediate
285 pages
6h 24m
English
| ArrayOfBlocks/src/arrayofblocks/ArrayOfBlocks.java | |
| | package arrayofblocks; |
| | |
| | import net.canarymod.plugin.Plugin; |
| | import net.canarymod.logger.Logman; |
| | import net.canarymod.Canary; |
| | import net.canarymod.commandsys.*; |
| | import net.canarymod.chat.MessageReceiver; |
| | import net.canarymod.api.entity.living.humanoid.Player; |
| | import net.canarymod.api.world.position.Location; |
| | import net.canarymod.api.world.blocks.Block; |
| | import net.canarymod.api.world.blocks.BlockType; |
| | import com.pragprog.ahmine.ez.EZPlugin; |
| | |
| | public class ArrayOfBlocks extends EZPlugin { |
| | |
| | public void buildTower(Player me) { |
| | Location loc = me.getLocation(); |
| | loc.setX(loc.getX() + 1); // Not right on top of player |
| | |
| | BlockType ... |
Read now
Unlock full access