Everything posted by hydroflame
-
i am getting a wired error [solved]
who the hell is sending a string of length 2048 ?
-
Check if class exists?
well the "dlc" could be a mod by itself and have a dependencie over your main mod
-
[PLZ HELP] Event issue
yeah but that doesnt exists
-
Crash when searching for my block in creative mode.
im on a phone ill answerin 15 min
-
Crash when searching for my block in creative mode.
you need to underatand the difference between static and not static
-
Check if class exists?
plus like i said, you might want to reconsider how you are implementing this ...
-
Crash when searching for my block in creative mode.
[lmgtfy]how to call a method in java[/lmgtfy] im sorry but this basic java.
-
Check if class exists?
a try catch as it will throw exception if it doesnt find it
-
Crash when searching for my block in creative mode.
YOU have to manually call this said method, theres no magic
-
Check if class exists?
well ... you dont HAVE to do it this way (actually its pretty weird) but you're probably better to do Class c = Class.forName("com.name.wtv.class");
-
Crash when searching for my block in creative mode.
you make a call to registerRenderers() im sure in the tutorial you have followed they are doing it and you simply missed it
-
Crash when searching for my block in creative mode.
TileEntity and TileEntitySpecialRenderer are 2 different things, your registerRenderer method is never called in the main mod class so after loading your mod knows that theres a new tile entity, but he doesnt know that theres a special way to render it
-
Crash when searching for my block in creative mode.
no, renderers are registered when the mod is loading aka in the init/load function of your main mod
-
Crash when searching for my block in creative mode.
well for this bug well just say that the code in execute in a serial manner so if theres no println that means theres no registration... that woudl also mean that nobody is calling your client proxy registerRendering() because if something was calling your registerRendering then surelly there would be a print and you would register your tile entity renderer. but since theres no println, then NOTHING in this function is EVER executed
-
Crash when searching for my block in creative mode.
not exactly if you do System.out.println("thsi code was executed") and "thsi code was executed" never shows up..... can you conclude that ....thsi code was NEVER executed ?
-
Crash when searching for my block in creative mode.
what can you conclude ?
-
Crash when searching for my block in creative mode.
no it wont print anything trust me, do only the ClientRegistry thing
-
Crash when searching for my block in creative mode.
always use something like System.out.println("yes the coded executed this") because System.out.println() will only appear like this "2013-07-23 22:14:05 [sTDOUT] " and then you dont know what is sending thsi line, while if you use System.out.println("yes the coded executed this") you know exactly which lines has printed this code
-
How to set up my logger?
[lmgtfy]how to use java logger[/lmgtfy] im sorry
-
Crash when searching for my block in creative mode.
now lets use the same strategy and make a println before this: "ClientRegistry.bindTileEntitySpecialRenderer(" in your client proxy
-
How to set up my logger?
yeah i understand, but this is a java issue not a forge issue, you should be able to find this in google easily (btw mine has 18-19k , but yeah id consider 10k a big mod )
-
Crash when searching for my block in creative mode.
conclusion? you didnt rgister it correctly can we have the updated main mod class ?
-
How to set up my logger?
i obviously use a logger every single day of my life at work. but clearly it may be overkill for a minecraft mod... just saying. maybe im wrong and your mod is reaaaaaally big and you actualy need it. but i consider that im doing a big one and i dont need a logger
-
How to set up my logger?
why cant you just use System.out.println like 99% of us ? this seems like a lot of effort to see [sTDOUT][MyMod] penis 1 [sTDOUT][MyMod] penis 2 [sTDOUT][MyMod] penis 3 [sTDOUT][MyMod] penis 4 [sTDOUT][MyMod] penis 5
-
Full armor set effect and double jump [1.6.2]?
yeah... thsi makes no sens, this is literally the equivalent of comparing apples and hammers. To the eyes of the compiler this statement makes no sens.
IPS spam blocked by CleanTalk.