Examples of spawnMob()


Examples of com.sk89q.craftbook.access.WorldInterface.spawnMob()

                int z = pos.getBlockZ();

                for (int y = pos.getBlockY() + 1; y <= maxY; y++) {
                    if (BlockType.canPassThrough(world.getId(x, y, z))) {
                        if (rider.length() != 0 && c.isValidMob(rider)) {
                            world.spawnMob(x, y, z, id, rider);
                        } else {
                            world.spawnMob(x, y, z, id);
                        }
                        return;
                    }
View Full Code Here

Examples of com.sk89q.craftbook.access.WorldInterface.spawnMob()

                for (int y = pos.getBlockY() + 1; y <= maxY; y++) {
                    if (BlockType.canPassThrough(world.getId(x, y, z))) {
                        if (rider.length() != 0 && c.isValidMob(rider)) {
                            world.spawnMob(x, y, z, id, rider);
                        } else {
                            world.spawnMob(x, y, z, id);
                        }
                        return;
                    }
                }
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.