Jump to content

fisherman77

Members
  • Posts

    23
  • Joined

  • Last visited

Everything posted by fisherman77

  1. I am having this same problem as well. If it helps at all, I'm on a Mac using Terminal and Forge src version 10.12.0.1012:
  2. Well, found and fixed it. Turned out that there were 2 errors, the other being in a model file that I put out of the build path (I guess recompile ignores whether it's in the build path of Eclipse or not). Anyways, thank you very much!
  3. Darn. Still getting errors. I'll work on it. Would redownloading MCP help?
  4. Darn. The class was in "reobf", so it didn't do anything. What would you recommend I do from here?
  5. Just tried that. Not working -- I also have checked the src folder and the WorldGenPaleocraftTree1 or whatever isn't there.
  6. Hello. I'm having an error with my recompile.sh. Whenever I try to recompile, I get the same error: The one error that isn't about deprecated classes is this one: /Users/Buck/Desktop/Coding/Java/Mod Making/Forge 1.6.2/forge/mcp/src/minecraft/bladeking68/paleocraft/dimension/WorldGenPaleocraftTree1.java:89: cannot find symbol symbol : variable treesapling1 location: class fisherman77.paleocraft.common.Paleocraft boolean isSoil = (soil != null && soil.canSustainPlant(par1World, par3, par4 - 1, par5, ForgeDirection.UP, (Blocktree1sapling)fisherman77.paleocraft.common.Paleocraft.treesapling1)); However, WorldGenPaleocraftTree1.java has been deleted (I checked). Paleocraft.java:
  7. Both fixes put together have fixed it. Big thank you.
  8. I see. So what would you say would be the best solution?
  9. So then, should I raise the y coordinates to 256 to where I end up with something like this instead? int yCoord = random.nextInt(256); EDIT: Thank you, that helped. Now I'm getting an error with a different part of the code where I'm trying to make sure that the block below is dirt: Error: The troubled lines: Line 66: k1 = par1World.getBlockId(l1, i1 -1, j1); Line 175: (new WorldGenGrapeTree(false, 9, 0, 0, false)).generate(world, random, xCoord, yCoord, zCoord); Entire code available in first post.
  10. Hello. This is the second time that I have gotten this error report. It seems to happen whenever I try to add world generation. Even when I take all the mods affiliated with world generation out of the build path, it still happens. Here is the error: WorldGenGrapeTree.java:
  11. I have mobs who need to spawn near the player's spawn. I'm going to generate a monster spawner near there.
  12. Hello. I was wondering how you could get the spawn location for purposes of world generation. It used to be something like: world.worldInfo.getSpawnX(); Now it has changed, so I was taking a look at world.getSpawnLocation, but I don't know how I could get the specific, x, y, and z coordinates, all of which you need for generation (my current code using randomness for generation): @Override public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { BiomeGenBase b = world.getBiomeGenForCoords(chunkX, chunkZ); if(b.biomeName.equals("Plains") || b.biomeName.equals("Extreme Hills")) { for(int i = 0; i < 10; i++) { int xCoord = chunkX + random.nextInt(16); int yCoord = random.nextInt(16); int zCoord = chunkZ + random.nextInt(16); /** Custom WorldGenTutorialTree block **/ (new WorldGenGrapeTree(false, 9, 0, 0, false)).generate(world, random, xCoord, yCoord, zCoord); } } }
  13. Hello! I'm a frequent visitor to the Forge forums and an avid Forge modder, but the day before yesterday, I logged onto the Forge forums only to find out that my IP has been banned for something I never did! Here's a screenshot: For proof, you can check my history here, I believe: http://www.minecraftforge.net/forum/index.php?action=profile;area=showposts;sa=topics;u=4868 I was in the middle of making a new tutorial for my fisherman77's Modding Tutorials page on the Minecraft Forums and downloading the newest 1.6.1 version of Forge. I have already tried speaking the Minecraft Forge IRC, but it tells me that it is not able to send a message to the channel. Ugh, frustration... but what can I do. Please help me. Has anyone else ever experienced this? BTW, I'm posting this via my friends computer, so that's why I'm able to access the forums right now.
  14. Hello. My name is fisherman77. I'm the creator of the Glacier Ice, Zeuscraft, and Paleocraft mods. All can be accessed at fisherman77.mcwargate.com, but all are on MCForums in one way or another, and Glacier Ice is on PMC, Minecraft Wiki, Youtube, and I believe criticsquid's mod list. I would like Modder Status and a sub-forum called "fisherman77's Mods". Thanks!
  15. Hello! I was just wondering if there was a way to add the mob eggs that you create in Forge to a particular creative tab. I'm registering my mobs using the registerGlobalEntityID method, where you can register a spawn egg using hexidecimals. If not, NBD, I can just create a custom item, but it'd be really cool if you could...
  16. Right you are, LexManos *facepalm*. I don't know how you do it, not just how you fix everyone's problems, but how you are funny when telling them that they screwed up. Thank you very much! fisherman77
  17. I have made a mod in Eclipse and have no errors whatsoever. I run it from Eclipse all the time, and just successfully tested it to run fine in startclient, but when the .jar version of the mod is put in the /mods folder in the actual minecraft, the mod no longer functions and has this error on startup: I'm pretty sure that I formatted the .jar file correctly, with the zcode/client/ZClientProxy.class and also another folder in zcode: zcode/common/the-rest-of-my-classes and finally with the Zeuscraft/ folder that contains my textures. The weirdest thing is that the error leads you to believe the issue might be in Forge itself, not my mod, but when my mod is not in the /mods folder, Forge works fine
  18. Ya I think I fixed it for the controlling for the most part, but now I am just getting a packet error - the server suspects cheating? 2012-09-18 19:37:15 [sEVERE] [ForgeModLoader] A critical server error occured handling a packet, kicking net.minecraft.src.NetServerHandler@75d7d567 java.lang.NullPointerException at fisherman77.Zeuscraft.common.EntityPegasus.updateEntityActionState(EntityPegasus.java:110) at net.minecraft.src.EntityLiving.onLivingUpdate(EntityLiving.java:1537) at net.minecraft.src.EntityLiving.onUpdate(EntityLiving.java:687) at fisherman77.Zeuscraft.common.EntityPegasus.onUpdate(EntityPegasus.java:249) at net.minecraft.src.World.updateEntityWithOptionalForce(World.java:2027) at net.minecraft.src.WorldServer.uncheckedUpdateEntity(WorldServer.java:547) at net.minecraft.src.NetServerHandler.handleFlying(NetServerHandler.java:186) at net.minecraft.src.Packet10Flying.processPacket(Packet10Flying.java:51) at net.minecraft.src.MemoryConnection.processReadPackets(MemoryConnection.java:75) at net.minecraft.src.NetServerHandler.networkTick(NetServerHandler.java:72) at net.minecraft.src.NetworkListenThread.networkTick(NetworkListenThread.java:55) at net.minecraft.src.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:111) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:630) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:547) at net.minecraft.src.IntegratedServer.tick(IntegratedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453) at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:17)
  19. Ya. I also tried EntityPlayerClientMP, or whatever it was that was mentioned in this post above, and it gave me the exact same error, which is peculiar.
  20. Thanks for the help so far! However, I do still have a problem with EntityPlayerMP casting into itself for that line: java.lang.ClassCastException: net.minecraft.src.EntityClientPlayerMP cannot be cast to net.minecraft.src.EntityPlayerMP 2012-09-16 10:35:08 [iNFO] [sTDERR] at fisherman77.Zeuscraft.common.EntityPegasus.onUpdate(EntityPegasus.java:202) 2012-09-16 10:35:08 [iNFO] [sTDERR] at net.minecraft.src.World.updateEntityWithOptionalForce(World.java:2027) 2012-09-16 10:35:08 [iNFO] [sTDERR] at net.minecraft.src.World.updateEntity(World.java:1992) 2012-09-16 10:35:08 [iNFO] [sTDERR] at net.minecraft.src.World.updateEntities(World.java:1873) 2012-09-16 10:35:08 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1771) 2012-09-16 10:35:08 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:834) 2012-09-16 10:35:08 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:764) 2012-09-16 10:35:08 [iNFO] [sTDERR] at java.lang.Thread.run(Thread.java:680) BTW, I changed the ascending and descending by using this code (this also includes the most current code): EntityPlayerMP entityplayermp = (EntityPlayerMP)riddenByEntity; double uplift = 0.45500000000000002D; /* if (entityplayersp.movementInput.jump) { motionY = 0.1D; } if (entityplayersp.movementInput.sneak) { motionY = -0.1D; } */ motionY = riddenByEntity.motionY * uplift; Should I try keybindings? If so, could you direct me to a good tut?
  21. Hello! I have recently upgraded to the new Forge and MC 1.3.2. However, I can not get this one little bug squashed! Here is the error log: 2012-09-14 17:30:19 [sEVERE] [ForgeModLoader] A critical server error occured handling a packet, kicking net.minecraft.src.NetServerHandler@111de95a java.lang.ClassCastException: net.minecraft.src.EntityPlayerMP cannot be cast to net.minecraft.src.EntityPlayerSP at fisherman77.Zeuscraft.common.EntityPegasus.onUpdate(EntityPegasus.java:200) at net.minecraft.src.World.updateEntityWithOptionalForce(World.java:2027) at net.minecraft.src.WorldServer.uncheckedUpdateEntity(WorldServer.java:547) at net.minecraft.src.NetServerHandler.handleFlying(NetServerHandler.java:186) at net.minecraft.src.Packet10Flying.processPacket(Packet10Flying.java:51) at net.minecraft.src.MemoryConnection.processReadPackets(MemoryConnection.java:75) at net.minecraft.src.NetServerHandler.networkTick(NetServerHandler.java:72) at net.minecraft.src.NetworkListenThread.networkTick(NetworkListenThread.java:55) at net.minecraft.src.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:111) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:630) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:547) at net.minecraft.src.IntegratedServer.tick(IntegratedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453) at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:17) and here is the effected lines: public void onUpdate() { super.onUpdate(); if(riddenByEntity != null) { EntityPlayerSP entityplayersp = (EntityPlayerSP)riddenByEntity; double uplift = 0.45500000000000002D; if (entityplayersp.movementInput.jump) { motionY = 0.1D; } if (entityplayersp.movementInput.sneak) { motionY = -0.1D; }
×
×
  • Create New...

Important Information

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