Package net.minecraftforge.event.entity

Examples of net.minecraftforge.event.entity.EntityJoinWorldEvent


    for (int var2 = 0; var2 < par1List.size(); ++var2) {
      Entity entity = (Entity) par1List.get(var2);
      if (entity == null) {
        Log.warning("Null entity in chunk during world load", new Throwable());
        par1List.remove(var2--);
      } else if (MinecraftForge.EVENT_BUS.post(new EntityJoinWorldEvent(entity, this))) {
        par1List.remove(var2--);
      } else if (entityTracker == null || !entityTracker.isTracking(entity.entityId)) {
        loadedEntityList.add(entity);
        this.onEntityAdded(entity);
      }
View Full Code Here

TOP

Related Classes of net.minecraftforge.event.entity.EntityJoinWorldEvent

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.