Can't find any zombies or animals

BigGruffalo

Пользователь
Hi,

I've just installed nukkit on my Macbook and when I start up the script (start.sh), I can travel around the world but I can't:

a. find any monsters (zombies, skeletons etc.)
b. find any animals
c. Can't seem to eat. I find an apple for example but when double clicking on the screen, it doesn't amount to me eating.

Help?
 

Gandalf

Пользователь
Minecraft: PE v1.0.6
MobPlugin v1.0

When a player enters the server, errors occur in the console:
2017-4-18 04:15:51 [ALERT] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at cn.nukkit.entity.Entity.createEntity(Entity.java:590)
at cn.nukkit.level.format.generic.BaseFullChunk.initChunk(BaseFullChunk.java:124)
at cn.nukkit.level.Level.loadChunk(Level.java:2450)
at cn.nukkit.level.Level.getChunk(Level.java:2169)
at cn.nukkit.level.Level.populateChunk(Level.java:2674)
at cn.nukkit.level.Level.populateChunk(Level.java:2665)
at cn.nukkit.Player.sendNextChunk(Player.java:729)
at cn.nukkit.Player.checkNetwork(Player.java:1649)
at cn.nukkit.Server.tick(Server.java:1024)
at cn.nukkit.Server.tickProcessor(Server.java:808)
at cn.nukkit.Server.start(Server.java:787)
at cn.nukkit.Server.<init>(Server.java:472)
at cn.nukkit.Nukkit.main(Nukkit.java:68)
Caused by: java.lang.NullPointerException
at com.pikycz.mobplugin.entities.monster.TameableMonster.initEntity(TameableMonster.java:39)
at com.pikycz.mobplugin.entities.animal.walking.Wolf.initEntity(Wolf.java:53)
at cn.nukkit.entity.Entity.init(Entity.java:372)
at cn.nukkit.entity.Entity.<init>(Entity.java:270)
at cn.nukkit.entity.EntityLiving.<init>(EntityLiving.java:30)
at cn.nukkit.entity.EntityCreature.<init>(EntityCreature.java:12)
at com.pikycz.mobplugin.entities.BaseEntity.<init>(BaseEntity.java:51)
at com.pikycz.mobplugin.entities.WalkingEntity.<init>(WalkingEntity.java:21)
at com.pikycz.mobplugin.entities.monster.WalkingMonster.<init>(WalkingMonster.java:30)
at com.pikycz.mobplugin.entities.monster.TameableMonster.<init>(TameableMonster.java:28)
at com.pikycz.mobplugin.entities.animal.walking.Wolf.<init>(Wolf.java:28)
... 17 more

and after
2017-4-18 04:19:24 [ALERT] java.lang.RuntimeException: java.lang.NullPointerException
at cn.nukkit.level.format.anvil.Anvil.saveChunk(Anvil.java:279)
at cn.nukkit.level.Level.unloadChunk(Level.java:2545)
at cn.nukkit.level.Level.unloadChunk(Level.java:2505)
at cn.nukkit.level.Level.unloadChunks(Level.java:2795)
at cn.nukkit.level.Level.unloadChunks(Level.java:2773)
at cn.nukkit.level.Level.doTick(Level.java:747)
at cn.nukkit.Server.checkTickUpdates(Server.java:946)
at cn.nukkit.Server.tick(Server.java:1021)
at cn.nukkit.Server.tickProcessor(Server.java:808)
at cn.nukkit.Server.start(Server.java:787)
at cn.nukkit.Server.<init>(Server.java:472)
at cn.nukkit.Nukkit.main(Nukkit.java:68)
Caused by: java.lang.NullPointerException
at com.pikycz.mobplugin.entities.animal.walking.Wolf.saveNBT(Wolf.java:72)
at cn.nukkit.level.format.anvil.Chunk.toBinary(Chunk.java:344)
at cn.nukkit.level.format.anvil.RegionLoader.writeChunk(RegionLoader.java:143)
at cn.nukkit.level.format.anvil.Anvil.saveChunk(Anvil.java:277)
... 11 more
2017-4-18 04:19:46 [ALERT] java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
at cn.nukkit.level.Level.saveChunks(Level.java:1152)
at cn.nukkit.level.Level.save(Level.java:1135)
at cn.nukkit.level.Level.save(Level.java:1119)
at cn.nukkit.Server.doAutoSave(Server.java:992)
at cn.nukkit.Server.tick(Server.java:1048)
at cn.nukkit.Server.tickProcessor(Server.java:808)
at cn.nukkit.Server.start(Server.java:787)
at cn.nukkit.Server.<init>(Server.java:472)
at cn.nukkit.Nukkit.main(Nukkit.java:68)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at cn.nukkit.level.format.anvil.Anvil.saveChunk(Anvil.java:279)
at cn.nukkit.level.Level.saveChunks(Level.java:1148)
... 8 more
Caused by: java.lang.NullPointerException
at com.pikycz.mobplugin.entities.animal.walking.Wolf.saveNBT(Wolf.java:72)
at cn.nukkit.level.format.anvil.Chunk.toBinary(Chunk.java:344)
at cn.nukkit.level.format.anvil.RegionLoader.writeChunk(RegionLoader.java:143)
at cn.nukkit.level.format.anvil.Anvil.saveChunk(Anvil.java:277)
... 9 more

Also, when the server is running with this plugin, many new regions are generated far from spawn (possibly due to an error2 or error3 when recording regions).
 
Last edited:

Gandalf

Пользователь
Unfortunately, this problem is not solved in this release. :(
when the server is running with this plugin, many new regions are generated far from spawn
At the same time, the CPU utilization is 30% even if there are no players.
 
Top