public static void spawn( Color color, World world, double x, double y, double z, double motionX, double motionY, double motionZ) { EntityFXColoredPortal entity = new EntityFXColoredPortal(color, world, x, y, z, motionX, motionY, motionZ); MiscHelper.getMc().effectRenderer.addEffect(entity); }
/** * Checks if the current server is PVP, always false on client, as damage calculations happen on * the server side. * */ public boolean isServerPVP() { return MiscHelper.getServer().isPVPEnabled(); }