Giter Site home page Giter Site logo

backtolife's People

Contributors

alexmodguy avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

backtolife's Issues

Velociraptor doesn't spawn.

All of the other mobs spawn correctly, however velociraptors throw an error and spawn a pig. This has to do with the BLOODY data watcher tag(says if the face of the dinosaur is covered in blood). THis is weird as tarbosaurus uses the same code for it's bloody face and no errors occur. Here is the error:

[code]
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: java.lang.reflect.InvocationTargetException
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at java.lang.reflect.Constructor.newInstance(Unknown Source)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.entity.EntityList.createEntityByName(EntityList.java:148)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.entity.EntityList.createEntityByIDFromName(EntityList.java:237)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:217)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:100)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:734)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:156)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:499)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.network.NetHandlerPlayServer.processRightClickBlock(NetHandlerPlayServer.java:707)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(CPacketPlayerTryUseItemOnBlock.java:68)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(CPacketPlayerTryUseItemOnBlock.java:13)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:15)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at java.util.concurrent.FutureTask.run(Unknown Source)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.util.Util.runTask(Util.java:25)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:740)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:685)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:155)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:534)
[20:03:05] [Server thread/INFO] [STDERR]: [net.minecraft.entity.EntityList:createEntityByName:153]: at java.lang.Thread.run(Unknown Source)
[20:03:05] [Server thread/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:-1]: Caused by: java.lang.IllegalArgumentException: Duplicate id value for 13!
[20:03:05] [Server thread/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.network.datasync.EntityDataManager.register(EntityDataManager.java:85)
[20:03:05] [Server thread/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:-1]: at com.github.backtolifemod.backtolife.entity.living.EntityVelociraptor.entityInit(EntityVelociraptor.java:82)
[20:03:05] [Server thread/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.entity.Entity.(Entity.java:247)
[20:03:05] [Server thread/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.entity.EntityLivingBase.(EntityLivingBase.java:190)
[20:03:05] [Server thread/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.entity.EntityLiving.(EntityLiving.java:96)
[20:03:05] [Server thread/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.entity.EntityCreature.(EntityCreature.java:26)
[20:03:05] [Server thread/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.entity.EntityAgeable.(EntityAgeable.java:27)
[20:03:05] [Server thread/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.entity.passive.EntityAnimal.(EntityAnimal.java:28)
[20:03:05] [Server thread/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.entity.passive.EntityTameable.(EntityTameable.java:32)
[20:03:05] [Server thread/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:-1]: at com.github.backtolifemod.backtolife.entity.living.EntityPrehistoric.(EntityPrehistoric.java:51)
[20:03:05] [Server thread/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:-1]: at com.github.backtolifemod.backtolife.entity.living.EntityLandPrehistoric.(EntityLandPrehistoric.java:39)
[20:03:05] [Server thread/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:-1]: at com.github.backtolifemod.backtolife.entity.living.EntityVelociraptor.(EntityVelociraptor.java:44)
[20:03:05] [Server thread/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:-1]: ... 23 more
[/code]

the link to the class is here:
https://github.com/BackToLifeMod/BackToLife/blob/master/src/main/java/com/github/backtolifemod/backtolife/entity/living/EntityVelociraptor.java

and the link to the working tarbosaurus class is here:
https://github.com/BackToLifeMod/BackToLife/blob/master/src/main/java/com/github/backtolifemod/backtolife/entity/living/EntityTarbosaurus.java

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.