Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ironfists

Members
  • Joined

  • Last visited

Everything posted by Ironfists

  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?
  16. Is there a fast way to test the mod on a server?
  17. 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?
  18. Fixed it, I had to make an mcmod.info file
  19. Ok nice, do you have to do something special with them? Because I don't see the "config" button in the game
  20. 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?
  21. Is there a way to use it?
  22. Oh ok I got it, thanks ! I got lost because I was looking at this tutorial http://www.minecraftforge.net/wiki/Using_Access_Transformers
  23. Is there a simple example code anywhere?
  24. Pretty much everything, what I am supposed to do in the code?
  25. I don't understand how it works

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.