Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
this.worldObj.spawnEntity(entity);
this.worldObj.spawnEntityInWorld(new EntityZombieWeak(this.worldObj));
EntityZombieWeak zombie_weak = new EntityZombieWeak(this.worldObj);
zombie_weak.setPosition(this.posX, this.posY, this.posZ);
this.worldObj.spawnEntityInWorld(zombie_weak);
2016-08-10 16:47:50 [INFO] [STDOUT] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:668)
2016-08-10 16:47:50 [INFO] [STDOUT] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
2016-08-10 16:47:50 [INFO] [STDOUT] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2016-08-10 16:47:50 [INFO] [STDOUT] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
2016-08-10 16:47:50 [INFO] [STDOUT] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
zombie_weak.setPosition(this.posX + 1, this.posY, this.posZ + 1);
int xP,yP,zP;
xP = entity.serverPosX; yP = entity.serverPosY; zP = entity.serverPosZ;
zombie_weak.setPosition(xP + 1, yP + 1, zP + 1);
2016-08-10 17:02:19 [INFO] [STDOUT] at net.minecraft.world.World.updateEntities(World.java:2158)
World world = worldObj;
world.updateEntities();
2016-08-10 17:05:53 [INFO] [STDOUT] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:668)
2016-08-10 17:05:53 [INFO] [STDOUT] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
2016-08-10 17:05:53 [INFO] [STDOUT] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2016-08-10 17:05:53 [INFO] [STDOUT] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
2016-08-10 17:05:53 [INFO] [STDOUT] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
world.updateAllLightTypes(xP, yP, zP);
if(worldObj !=null){
world.updateEntities();
world.updateAllLightTypes(xP, yP, zP);
}