Everything posted by Ironfists
-
[1.9.4]Crash in minecraft server
Oh yeah I have googled a lot things about proxy but I'm more of a "Code until it works and then begin to understand how it actually works" kind of guy, so yeah I got the concept of side specific operations but I won't know how to use it until I see a concrete, functional code example. Thanks a lot for your patience though I really appreciate it And I don't have any questions left I got what causes the problem
-
[1.9.4]Crash in minecraft server
Oh yeah I have googled a lot things about proxy but I'm more of a "Code until it works and then begin to understand how it actually works" kind of guy, so yeah I got the concept of side specific operations but I won't know how to use it until I see a concrete, functional code example. Thanks a lot for your patience though I really appreciate it And I don't have any questions left I got what causes the problem
-
[1.9.4]Crash in minecraft server
so I changed from calling directly Minecraft.getMinecraft().effectRenderer.addEffect(new EntitySweepAttack2FX(Minecraft.getMinecraft().getTextureManager(), player.worldObj, player.posX + dd0, player.posY + (double)player.height * 0.5D, player.posZ + dd1, 0, 0, 0)); , to making a method that simply calls this line but the difference is that I added the @SideOnly(Side.CLIENT) annotation, and the error is gone so I guess that's good. Didn't do anything in the proxy though
-
[1.9.4]Crash in minecraft server
so I changed from calling directly Minecraft.getMinecraft().effectRenderer.addEffect(new EntitySweepAttack2FX(Minecraft.getMinecraft().getTextureManager(), player.worldObj, player.posX + dd0, player.posY + (double)player.height * 0.5D, player.posZ + dd1, 0, 0, 0)); , to making a method that simply calls this line but the difference is that I added the @SideOnly(Side.CLIENT) annotation, and the error is gone so I guess that's good. Didn't do anything in the proxy though
-
[1.9.4]Crash in minecraft server
Ok so I guess that you want to mean that a particle is a SideOnly client thing, so what to do in the proxy to make this work?
-
[1.9.4]Crash in minecraft server
Ok so I guess that you want to mean that a particle is a SideOnly client thing, so what to do in the proxy to make this work?
-
[1.9.4]Crash in minecraft server
I have test both values and they both throw me the "NoClassDefFoundError"
-
[1.9.4]Crash in minecraft server
I have test both values and they both throw me the "NoClassDefFoundError"
-
[1.9.4]Crash in minecraft server
Ok so I can now test what's wrong and the line that crashes the server is Minecraft.getMinecraft().effectRenderer.addEffect(new EntitySweepAttack2FX(Minecraft.getMinecraft().getTextureManager(), player.worldObj, player.posX + dd0, player.posY + (double)player.height * 0.5D, player.posZ + dd1, 0, 0, 0)); which simply spawn a custom particle so I added a if(!player.worldObj.isRemote) butit wasn't enough it seems
-
[1.9.4]Crash in minecraft server
Ok so I can now test what's wrong and the line that crashes the server is Minecraft.getMinecraft().effectRenderer.addEffect(new EntitySweepAttack2FX(Minecraft.getMinecraft().getTextureManager(), player.worldObj, player.posX + dd0, player.posY + (double)player.height * 0.5D, player.posZ + dd1, 0, 0, 0)); which simply spawn a custom particle so I added a if(!player.worldObj.isRemote) butit wasn't enough it seems
-
[1.9.4]Crash in minecraft server
But why not start the server (GradleStartServer) instead of the client ?
-
[1.9.4]Crash in minecraft server
But why not start the server (GradleStartServer) instead of the client ?
-
[1.9.4]Crash in minecraft server
Ok that seems easy, but then running a singleplayer world won't do it right? Do I have to go to multiplayer and direct connect to "localhost" or something like that?
-
[1.9.4]Crash in minecraft server
Ok that seems easy, but then running a singleplayer world won't do it right? Do I have to go to multiplayer and direct connect to "localhost" or something like that?
-
[1.9.4]Crash in minecraft server
Is there a fast way to test the mod on a server?
-
[1.9.4]Crash in minecraft server
Is there a fast way to test the mod on a server?
-
[1.9.4]Crash in minecraft server
My mod seems to run perfectly on singleplayer but there is someone that, I believe tried to run it on a server, sent me a bug report. fml-server-latest.log latest.log I have no experience in server multiplayer, from what I can tell, my mod use a custom particle, but the minecraft server fails to load the "Particle.class" something like that, well it's a simple "classNotFoundException" but why does it work in singleplayer and how can I fix it?
-
The "Mod Option" button?
Fixed it, I had to make an mcmod.info file
-
The "Mod Option" button?
Ok nice, do you have to do something special with them? Because I don't see the "config" button in the game
-
[1.9]Gui incompatibilities
My mod needs to modify the "renderAttackIndicator" method form guiIngame. So I created a new class "BCGuiIngame" that extends GuiIngame and modified that method a bit. Then I use my gui instead of the vanilla by doing this @SubscribeEvent public void onLogin(PlayerLoggedInEvent event) { Minecraft.getMinecraft().ingameGUI = new BCGuiIngame(Minecraft.getMinecraft()); } The problem is that this makes other mods that use the guiIngame crash, so can I do?
-
The "Mod Option" button?
Is there a way to use it?
-
[1.9]Reflection problems
Oh ok I got it, thanks ! I got lost because I was looking at this tutorial http://www.minecraftforge.net/wiki/Using_Access_Transformers
-
[1.9]Reflection problems
Is there a simple example code anywhere?
-
[1.9]Reflection problems
Pretty much everything, what I am supposed to do in the code?
-
[1.9]Reflection problems
I don't understand how it works
IPS spam blocked by CleanTalk.