Jump to content

Recommended Posts

Posted

(mod_Ores.java:305) still uses ModLoader.addOverride

Stop

Fairly clear statement here, dont use addOverride at all, ever.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

i have replaced all modloader addOverride() and now have this error

at line 305 is this :

ModLoader.registerBlock(TinBlock);

 

as i have many more blocks i have many more of these lines aswell... altough i changed all the ModLoader.addOverride()

 

i now get this error :

Spoiler 

 

 

 

 

2012-08-24 10:48:41 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.0.71.289 for Minecraft client:1.3.2, server:1.3.2 loading

 

2012-08-24 10:48:49 [iNFO] [sTDOUT] 27 achievements

 

2012-08-24 10:48:49 [iNFO] [sTDOUT] 195 recipes

 

2012-08-24 10:48:50 [iNFO] [sTDOUT] Setting user: Player996, -

 

2012-08-24 10:48:50 [iNFO] [sTDERR] Client asked for parameter: server

 

2012-08-24 10:48:50 [iNFO] [sTDOUT] LWJGL Version: 2.4.2

 

2012-08-24 10:48:54 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization

 

2012-08-24 10:48:54 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization

 

2012-08-24 10:48:57 [iNFO] [ForgeModLoader] Searching C:\Minecraft_mod_Ores_1.3.2\jars\mods for mods

 

2012-08-24 10:49:15 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 3 mods to load

 

2012-08-24 10:49:17 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at java.lang.Class.forName0(Native Method)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at java.lang.Class.forName(Unknown Source)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at cpw.mods.fml.common.modloader.ModLoaderModContainer.constructMod(ModLoaderModContainer.java:501)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:127)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:85)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:420)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:192)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:402)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:734)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] Caused by: java.lang.ArrayIndexOutOfBoundsException: 125

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at net.minecraft.src.EnumArmorMaterial.getDamageReductionAmount(EnumArmorMaterial.java:56)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at net.minecraft.src.ItemArmor.<init>(ItemArmor.java:31)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at net.minecraft.src.ItemArmorBronze.<init>(ItemArmorBronze.java:27)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at net.minecraft.src.mod_Ores.<clinit>(mod_Ores.java:219)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] ... 28 more

 

 

 

 

i do relize that one of the problems is this

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at net.minecraft.src.EnumArmorMaterial.getDamageReductionAmount(EnumArmorMaterial.java:56)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at net.minecraft.src.ItemArmor.<init>(ItemArmor.java:31)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at net.minecraft.src.ItemArmorBronze.<init>(ItemArmorBronze.java:27)

 

2012-08-24 10:49:17 [iNFO] [sTDERR] at net.minecraft.src.mod_Ores.<clinit>(mod_Ores.java:219)

 

 

 

 

So i would love to solve it... but i just dont know how.

 

 

 

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • You will find the crash-report or log in your minecraft directory (crash-report or logs folder)
    • Use a modpack which is using these 2 mods as working base:   https://www.curseforge.com/minecraft/modpacks/life-in-the-village-3
    • inicie un mundo donde instale Croptopia y Farmer's Delight, entonces instale el addon Croptopia Delight pero no funciona. es la version 1.18.2
    • Hello all. I'm currently grappling with the updateShape method in a custom class extending Block.  My code currently looks like this: The conditionals in CheckState are there to switch blockstate properties, which is working fine, as it functions correctly every time in getStateForPlacement.  The problem I'm running into is that when I update a state, the blocks seem to call CheckState with the position of the block which was changed updated last.  If I build a wall I can see the same change propagate across. My question thus is this: is updateShape sending its return to the neighbouring block?  Is each block not independently executing the updateShape method, thus inserting its own current position?  The first statement appears to be true, and the second false (each block is not independently executing the method). I have tried to fix this by saving the block's own position to a variable myPos at inception, and then feeding this in as CheckState(myPos) but this causes a worse outcome, where all blocks take the update of the first modified block, rather than just their neighbour.  This raises more questions than it answers, obviously: how is a different instance's variable propagating here?  I also tried changing it so that CheckState did not take a BlockPos, but had myPos built into the body - same problem. I have previously looked at neighbourUpdate and onNeighbourUpdate, but could not find a way to get this to work at all.  One post on here about updatePostPlacement and other methods has proven itself long superceded.  All other sources on the net seem to be out of date. Many thanks in advance for any help you might offer me, it's been several days now of trying to get this work and several weeks of generally trying to get round this roadblock.  - Sandermall
    • sorry, I might be stupid, but how do I open it? because the only options I have are too X out, copy it, which doesn't work and send crash report, which doesn't show it to me, also, sorry for taking so long.
  • Topics

×
×
  • Create New...

Important Information

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