Examples of HumanEntityProtocol


Examples of org.spout.vanilla.protocol.entity.HumanEntityProtocol

  public void onAttached() {
    super.onAttached();
    Entity holder = getOwner();
    holder.add(PlayerItemCollector.class);
    holder.add(Digging.class);
    setEntityProtocol(new HumanEntityProtocol());
    if (getAttachedCount() == 1) {
      holder.add(Health.class).setSpawnHealth(20);
    }
    TextModelComponent textModel = getOwner().get(TextModelComponent.class);
    if (textModel != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.