Package ch.njol.skript.util

Examples of ch.njol.skript.util.EquipmentSlot


          }
        }
        final EntityEquipment e = p.getEquipment();
        if (e == null)
          return null;
        return new EquipmentSlot(e, EquipmentSlot.EquipSlot.TOOL) {
          @Override
          public String toString_i() {
            return "the " + (getTime() == 1 ? "future " : getTime() == -1 ? "former " : "") + super.toString_i();
          }
        };
View Full Code Here


  @Nullable
  public Slot convert(final LivingEntity e) {
    final EntityEquipment eq = e.getEquipment();
    if (eq == null)
      return null;
    return new EquipmentSlot(eq, slot);
  }
View Full Code Here

TOP

Related Classes of ch.njol.skript.util.EquipmentSlot

Copyright © 2018 www.massapicom. 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.