Posted August 21, 201510 yr How to add a world to MinecraftServer.getServer().worldServers and make it send packets to client "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
August 21, 201510 yr Author What would you think is the most practical way to give an entity its own world and have the server send packets to the entities world on client. "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
August 21, 201510 yr Are you trying to have every player start in their own dimension or something? Current Project: Armerger Planned mods: Light Drafter | Ore Swords Looking for help getting a mod off the ground? Coding | Textures
August 21, 201510 yr Author Im trying to enable each player being in multiple worlds to receive packets from all of them "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
August 21, 201510 yr What do you mean when you say you want them to be in multiple worlds? Like what does the player see? how do the interact with these worlds? Current Project: Armerger Planned mods: Light Drafter | Ore Swords Looking for help getting a mod off the ground? Coding | Textures
August 21, 201510 yr Author Not Important but basically I have a modified world class that is very tiny(4 chunks). The idea is that a player can quickly have a pocket world as an item that when used they are quickly moved into their own world by simply overriding the game renderer and changing the player position. Im doing something like if(client){world = new world}else{world = new worldServer}. How would I theoretically link up theses 2 worlds? "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
August 21, 201510 yr the "world" you are talking about would be a dimension on the server. if you are only giving 4 chunks to your "world" you could just make a single dimension and have that dimension generate a bunch of seperate 4chunk areas and each user gets a way to teleport to a specific one of those areas. Current Project: Armerger Planned mods: Light Drafter | Ore Swords Looking for help getting a mod off the ground? Coding | Textures
August 21, 201510 yr Author ok, now how would I get the client to receive updates on those regions even if theyre not there (this is critical) "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
August 21, 201510 yr I think you might have a misunderstand of what the client does. Is the held item the only way in/out of that dimension? What is the purpose of this dimension?(is it somewhere to put like a personal chest room or power generators? If you have those chunks be permanently loaded once assigned to a player, I can not think of a use case where you would need to send information specifically to the user. However if you do NEED to, you can use regular packet handling and send your information to the player, the player is a parameter. this tutorial should help if you don't know how to send packets yet: http://www.minecraftforge.net/forum/index.php/topic,20135.0.html Current Project: Armerger Planned mods: Light Drafter | Ore Swords Looking for help getting a mod off the ground? Coding | Textures
August 21, 201510 yr Author I know that, Im just trying to use vanilla packets. Theres something in the world called worldAccesses and I think those handle sending packets. Do I just add a worldAccess to that list and Im done? "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.