Jump to content

Mevans

Members
  • Posts

    14
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Mevans's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Well, I'm an idiot. It turns out that while repackaging my classes I somehow managed to remove the @Mod annotation on my main mod file. Sorry!
  2. I'm not running a server, I'm only running the Eclipse and normal Minecraft clients, and neither of them load the mod.
  3. When I try to run my mod in Eclipse, it doesn't load. This is the report I get: [19:02:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [19:02:03] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [19:02:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [19:02:03] [main/INFO] [FML]: Forge Mod Loader version 7.2.156.1061 for Minecraft 1.7.2 loading [19:02:03] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_51, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre7 [19:02:03] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [19:02:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [19:02:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [19:02:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [19:02:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [19:02:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [19:02:03] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [19:02:03] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Jake/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1061/forgeSrc-1.7.2-10.12.1.1061.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again! [19:02:03] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem! [19:02:03] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Jake/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1061/forgeSrc-1.7.2-10.12.1.1061.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it [19:02:03] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [19:02:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [19:02:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [19:02:04] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [19:02:04] [main/INFO]: Setting user: Player406 [19:02:05] [Client thread/INFO]: LWJGL Version: 2.9.0 [19:02:05] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [19:02:05] [Client thread/INFO] [FML]: MinecraftForge v10.12.1.1061 Initialized [19:02:05] [Client thread/INFO] [FML]: Replaced 141 ore recipies [19:02:05] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [19:02:06] [Client thread/INFO] [FML]: Searching C:\Users\Jake\Desktop\MCP\LOTR\[1.7.2] LOTR Public Beta 17\eclipse\mods for mods [19:02:06] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW! [19:02:07] [Client thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load [19:02:07] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge [19:02:08] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 ... ... And I did try downloading a clean copy, as it suggests, and running setupDecompWorkspace again from scratch, but the error persists. I recently moved all my mod code into proper packages (before I had only client and common packages) - could this have something to do with it? Also, the mod doesn't load on the proper Minecraft client when I build it either. Any help would be very appreciated, thank you.
  4. So I have to use IFMLLoadingPlugin? Okay then, I was not aware that those things had to be used for changing the visibility of fields and methods, because it worked fine before without them. And I made everything public because I haven't been able to find the srg names yet in the new gradle system. Edit: Reflection is not an option for me, because the mod has to access things every tick, so there would probably be too much performance penalty.
  5. My modname_at.cfg works fine in the development environment, and it works when I run my mod in Eclipse, but when I build my mod and load it in the actual Minecraft client, it crashes due to a field not being public: java.lang.IllegalAccessError: tried to access field net.minecraft.world.WorldServer.field_73068_P from class lotr.common.LOTRTickHandlerServer (This field is one of those made public in my modname_at.cfg, WorldServer.allPlayersSleeping) Since this always seemed to work fine in 1.6, could anyone tell me if the method of doing this has changed somehow in 1.7, or what I am doing wrong and how I can fix it? Thank you. This is my full access transformer file: public net.minecraft.entity.player.EntityPlayer * public net.minecraft.entity.player.EntityPlayer *() public net.minecraft.entity.player.EntityPlayerMP * public net.minecraft.entity.player.EntityPlayerMP *() public net.minecraft.client.entity.EntityClientPlayerMP * public net.minecraft.client.entity.EntityClientPlayerMP *() public net.minecraft.client.entity.EntityOtherPlayerMP * public net.minecraft.client.entity.EntityOtherPlayerMP *() public net.minecraft.block.BlockCrops *() public net.minecraft.block.BlockCarrot *() public net.minecraft.block.BlockPotato *() public net.minecraft.world.WorldServer * public net.minecraft.client.renderer.entity.RenderPlayer * public net.minecraft.potion.Potion * public net.minecraft.entity.passive.EntityHorse * public net.minecraft.inventory.InventoryCrafting * public net.minecraft.block.BlockStem *
  6. Okay, thank you. I have used Notepad++ in the past, not Notepad, and I'd be fine with learning to use Eclipse. But I have a pretty sizeable mod to update to 1.7 and I was wondering if I'd be able to do all the updating work in a program I'm familiar with if at all possible.
  7. Must the new ForgeGradle be used with Eclipse, or is it possible to use with, say, Notepad++? Apologies if this is a silly question, I have never worked with Gradle before.
  8. Hello everyone. I have recently been experimenting with raising the maximum height of terrain generation in my mod's new dimension, to allow the generation of much higher mountains. So far this has gone fairly successfully except for one problem: In doubling the max height from 128 to 256, I have also unintentionally doubled the 'sea level' (I do not mean the actual height of water, as I am well aware of how to change that, but rather the height of typically flat terrain) which is normally around 64 but has now increased to around 128. However I do not want the majority of terrain to be raised, only mountains and hills, meaning 'sea level' needs to return to the original 64-ish blocks. Here is an image to hopefully better explain what I'm saying. Does anyone know how I might fix this? I want to keep the 256-high terrain gen but also to lower the sea level back down to its original height. I suspect it's as simple as changing a single number in the noise field generation, but I have failed to find a solution after working on it for around three days. Here is the ChunkProvider code: http://pastebin.com/PSubPwWu
  9. I can confirm this. The hook in RenderBlocks that allows for custom rendering of world blocks using new render types seems to have just disappeared in the new version... There's no way Forge would remove such an important feature as this, so I would suggest waiting until a new version comes out and resolves the problem.
  10. A while ago, I submitted a PR to Forge which exposed a few sleep-related methods and fields that were either private or unnecessarily client-side-only. This was because sleeping in new dimensions did not work properly, never resetting the time of day, and to fix this I had to use reflection to access the sleep-related code every single world tick. Which of course had a huge impact on performance. Hence why I submitted the PR, to allow myself and others to access these things normally. With the 1.5 update the changes I made seem to have disappeared and the code has reverted to its original private or client-side state. May I ask what has caused this? These changes were very important for my mods, so I apologise if they're perhaps just waiting to be re-implemented. I would appreciate being told if something like that is the case or if I have to submit a new PR. Thanks!
×
×
  • Create New...

Important Information

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