Package org.spout.vanilla.event.entity.network

Examples of org.spout.vanilla.event.entity.network.EntityEquipmentEvent


        equip = EntityEquipmentMessage.LEGGINGS_SLOT;
        break;
      default:
        return;
    }
    entity.getNetwork().callProtocolEvent(new EntityEquipmentEvent(entity, equip, item), true);
  }
View Full Code Here


    set(HELD_SLOT, held);
  }

  @Override
  public void updateHeldItem(Entity entity) {
    entity.getNetwork().callProtocolEvent(new EntityEquipmentEvent(entity, EntityEquipmentMessage.HELD_SLOT, get()), true);
  }
View Full Code Here

  @Override
  public void updateHeldItem(Entity entity) {
    ItemStack item = this.get(this.selected);

    entity.getNetwork().callProtocolEvent(new EntityEquipmentEvent(entity, EntityEquipmentMessage.HELD_SLOT, item), true);
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.event.entity.network.EntityEquipmentEvent

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.