Jump to content

Ironfists

Members
  • Posts

    37
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Ironfists's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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?
  6. 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?
  7. I have test both values and they both throw me the "NoClassDefFoundError"
  8. I have test both values and they both throw me the "NoClassDefFoundError"
  9. 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
  10. 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
  11. But why not start the server (GradleStartServer) instead of the client ?
  12. But why not start the server (GradleStartServer) instead of the client ?
  13. 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?
  14. 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?
  15. Is there a fast way to test the mod on a server?
×
×
  • Create New...

Important Information

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