Package org.spout.vanilla.protocol.entity

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

Related Classes of org.spout.vanilla.protocol.entity.HumanEntityProtocol

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.