Jump to content

Abchrisabc

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Abchrisabc

  1. @diesieben07 I have somethings to ask and say So basically I can delete line 21 (registerGlobalEntityId) (At EacEntity.java) or do I have to delete line 22 (registerModEntity)? How would I pass the entity-egg colors to registerGlobalEntityID? With the current setup I only would have to use the following code to register an Entity createEntity(ClassNameOfEntity.class, "Name Of Entity", 0xBackgroundColor, 0xSpotColour); I dont know How I would Not use the global IDs (yet...)
  2. Nevermind just found it I had to add the following code to my mod: EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.monster, BiomeGenBase.sky); So it would look like this: public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor) { int randomId = EntityRegistry.findGlobalUniqueEntityId(); EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId); EntityRegistry.registerModEntity(entityClass, entityName, randomId, Eac.mobInstance, 64, 1, true); EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.monster, BiomeGenBase.sky); createEgg(randomId, solidColor, spotColor); }
  3. How do I Make an Entity Spawn naturally in the end? My Source Code is at https://github.com/EacMods/Eac/tree/master/src/main/java/Eac Yes my entity extends Enderman but doesn't spawn naturally (Yet) in the end (or like the enderman in the overworld)
  4. I forgot to hit ctrl+shift+o *derp* Now it is also importing net.minecraftforge.common.util.EnumHelper
  5. Hi everybody, I'm porting my mod from 1.6.4 to 1.7.10 While porting I came to a problem EnumHelper has been renamed or (re)moved Here is my Sword code: http://paste.debian.net/hidden/b66e46a5/ At least it says EnumHelper cannot be resolved
  6. I have logs as I also can't join with stuff like ArmourStatusHUD and InventoryTweaks. Here are the logs for my server: http://pastebin.com/na1veC1E point of connecting = Line 1888 And here are the logs of the client: http://pastebin.com/M3aJtY5a the point of connecting is Line 3993
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.