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.

foreverstranded

Members
  • Joined

  • Last visited

Everything posted by foreverstranded

  1. Hi, I want to get x,z coordinates of chunk when I load it client side from server but I don't know what event I need to use or how to do that. I know how to render overlay with @SubscribeEvent onRender but in my case idk what to do.
  2. Is this right? Will this change value of world.worldInfo.randomSeed?
  3. Can you point me to the problem, please. I am missing something
  4. For some reason randomSeed field is getting unlocked but worldInfo is not. worldInfo is object of WorldInfo class, world is object of World class randomSeed is a long int, WorldInfo is a public class, World is a public abstract class
  5. I'm still not sure how to do it. fieldInfo must be similar to field fieldWorld in my vision.
  6. Can't figure out why it still says that this field is protected
  7. ok, thank you guys, will use it!
  8. can I get IllegalAccessException when I use it?
  9. Is there any way to set seed to World object? Asking cause I found only private fields and getSeed methods
  10. or is there any open projects that involves MinecraftServer?
  11. or I better ask: how can I create instance of MinecraftServer?
  12. Nope, I was wrong. There is no New instace creation for MinecraftServer.java. Only instanceof in Snooper class. Is this what I need to create instance of MinecraftServer?
  13. I see... But do you know in which class Minecraft creates MinecraftServer? Can't find EDIT: I realized it is in New instance creation
  14. I understand, but if I know the seed and know that generation settings are default can I somehow create World object?
  15. to generate chunk at my client and then compare it with one that is on the server. for example too see what blocks got changed from natural generation.
  16. I figured out how to get current loaded world via Minecraft class but it still probably won't work because, I suppose, you can't get full WorldInfo from server.
  17. I wanted to create World variable with already set parametres like WorldInfo, Seed. I need this to use create ChunkGeneratorOverworld at my client while I'm on server.
  18. Hi, is there any way to create world variable from save file? Something like this: World currentWorld = new World("pathToDirectory");
  19. How can I generate chunks by seed and coordinates,store and compare them?
  20. How can I get chunk from loaded world?

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.