Package com.bergerkiller.bukkit.common.entity.nms

Examples of com.bergerkiller.bukkit.common.entity.nms.NMSEntityClassBuilder


      List<Class<?>> callbacks = new ArrayList<Class<?>>();
      callbacks.add(NMSEntityHookImpl.class);
      if (IInventory.class.isAssignableFrom(this.nmsType.getType())) {
        callbacks.add(NMSEntityInventoryHookImpl.class);
      }
      this.hookBuilder = new NMSEntityClassBuilder(this.nmsType.getType(), callbacks);
    }
    // Create a new instance
    return (NMSEntityHook) this.hookBuilder.create(commonEntity);
  }
View Full Code Here

TOP

Related Classes of com.bergerkiller.bukkit.common.entity.nms.NMSEntityClassBuilder

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.