Jump to content

foreverstranded

Members
  • Posts

    28
  • 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. I prly realized
  4. Can you point me to the problem, please. I am missing something
  5. 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
  6. I'm still not sure how to do it. fieldInfo must be similar to field fieldWorld in my vision.
  7. And this field work fine
  8. Can't figure out why it still says that this field is protected
  9. ok, thank you guys, will use it!
  10. can I get IllegalAccessException when I use it?
  11. Is there any way to set seed to World object? Asking cause I found only private fields and getSeed methods
  12. or is there any open projects that involves MinecraftServer?
  13. or I better ask: how can I create instance of MinecraftServer?
  14. 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?
  15. I see... But do you know in which class Minecraft creates MinecraftServer? Can't find EDIT: I realized it is in New instance creation
  16. I understand, but if I know the seed and know that generation settings are default can I somehow create World object?
  17. 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.
  18. 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.
  19. 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.
  20. Hi, is there any way to create world variable from save file? Something like this: World currentWorld = new World("pathToDirectory");
  21. How can I generate chunks by seed and coordinates,store and compare them?
  22. How can I get chunk from loaded world?
×
×
  • Create New...

Important Information

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