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.

loordgek

Members
  • Joined

  • Last visited

Everything posted by loordgek

  1. you dont need it for now do you have discord ?
  2. https://github.com/loordgek/NewFantasyMod/commit/3cd683d7016ef6a4e5b3411aaef8135b54f62ae7
  3. no. dont make it final, dont set it, and use ++ instead of TRACKING_CHUNK use TRACKING_ENTITY
  4. https://github.com/DragonGamerDevelopers/NewFantasyMod/blob/8209587d8c51a816d10e193b7a22f2e222a7af44/src/main/java/mod/dragonita/fantasymod/customthings/ClientSendFunction.java nonono you dont need it
  5. https://github.com/DragonGamerDevelopers/NewFantasyMod/blob/e75c38445bb2df1da41f4b142e76f5bf36d0174e/src/main/java/mod/dragonita/fantasymod/Main.java#L45 plz learn what the final modifier does it can start at 0
  6. msg is can be any class you like https://github.com/DragonGamerDevelopers/NewFantasyMod/blob/e75c38445bb2df1da41f4b142e76f5bf36d0174e/src/main/java/mod/dragonita/fantasymod/customthings/PanicMessage.java#L17 that is your smg https://github.com/DragonGamerDevelopers/NewFantasyMod/blob/e75c38445bb2df1da41f4b142e76f5bf36d0174e/src/main/java/mod/dragonita/fantasymod/customthings/PanicMessage.java#L35-L47 https://github.com/DragonGamerDevelopers/NewFantasyMod/blob/e75c38445bb2df1da41f4b142e76f5bf36d0174e/src/main/java/mod/dragonita/fantasymod/customthings/PanicMessage.java#L61-L63 https://github.com/DragonGamerDevelopers/NewFantasyMod/blob/e75c38445bb2df1da41f4b142e76f5bf36d0174e/src/main/java/mod/dragonita/fantasymod/customthings/PanicMessage.java#L19-L20 what is that doing there you dont need it
  7. it is server side you need to send a message to all clients in render range to tell it panics
  8. https://github.com/DragonGamerDevelopers/NewFantasyMod/blob/1.15.2/src/main/java/mod/dragonita/fantasymod/customthings/ModidPacketHandler.java#L22-L35 it is better to extract this into its own class and name it "PanicMessage" ModidPacketHandler is a bad name for it https://github.com/DragonGamerDevelopers/NewFantasyMod/blob/1.15.2/src/main/java/mod/dragonita/fantasymod/customthings/ModidPacketHandler.java#L30 needs also the message, "PanicMessage" in this case public void handle(PanicMessage message, Supplier<NetworkEvent.Context> context) https://github.com/DragonGamerDevelopers/NewFantasyMod/blob/1.15.2/src/main/java/mod/dragonita/fantasymod/Main.java#L75 where you do 505156459 it is better to have do ID++ and ID is a static field https://github.com/MinecraftForge/MinecraftForge/blob/1.15.x/src/main/java/net/minecraftforge/fml/network/simple/SimpleChannel.java#L112-L125 use this to send a message to the client
  9. show me what you have tried
  10. https://github.com/cpw/inventorysorter/blob/master/src/main/java/cpw/mods/inventorysorter/KeyHandler.java#L118 https://github.com/cpw/inventorysorter/blob/master/src/main/java/cpw/mods/inventorysorter/ServerHandler.java https://github.com/cpw/inventorysorter/blob/master/src/main/java/cpw/mods/inventorysorter/Network.java hope this helps
  11. and stop ping everybody it is annoying
  12. that is the current way how to do it
  13. https://mcforge.readthedocs.io/en/1.13.x/networking/simpleimpl/
  14. can you a random log so i can explain it
  15. why do you want to do that ?
  16. it is server side probably, you need to send a packet i dont know for sure edit: did a test and it is server side only
  17. getRunningGoals is empty, i dnot know why
  18. return entity.goalSelector.getRunningGoals().anyMatch(prioritizedGoal -> prioritizedGoal.getGoal().getClass() == TargetGoal);
  19. we have that already it is called twitch launcher and for rehosting mods you need to get permission from the dev

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.