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);
 }
예제 #2
0
 /**
  * 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();
 }