public static MinecartMember getAt(Block railblock, boolean checkmoving) { if (railblock == null) return null; return getAt( WorldUtil.getNative(railblock.getWorld()), BlockUtil.getCoordinates(railblock), checkmoving); }
public static MinecartMember spawn(Location at, int type) { MinecartMember mm = new MinecartMember( WorldUtil.getNative(at.getWorld()), at.getX(), at.getY(), at.getZ(), type); mm.yaw = at.getYaw(); mm.pitch = at.getPitch(); mm.world.addEntity(mm); return mm; }
public static MinecartMember getAt( org.bukkit.World world, ChunkCoordinates coord, boolean checkmoving) { return getAt(WorldUtil.getNative(world), coord, checkmoving); }