Posted June 10, 20205 yr I've tried Minecraft.getInstance().getConnection().getWorld() and Minecraft.getInstance().world , but they both print isRemote() as true. Any other possible way to access? (Like packets or something else)
June 10, 20205 yr Both of the methods you laid out are specifically for the logical client. Read up on sides to better understand what you are looking for. You would need to send the information from the logical server to the logical client at a certain point in time so a packet would work best.
June 10, 20205 yr Author But is it possible to send a packets from client side only mod and receive from vanilla server ?
June 10, 20205 yr What are you trying to do? The server needs to install the mod in order to receive and read the custom packet, so probably not.
June 10, 20205 yr 54 minutes ago, ChAoS_UnItY said: But is it possible to send a packets from client side only mod and receive from vanilla server ? No. What are you trying to do from an end-user’s perspective? Some tips: Spoiler Modder Support: Spoiler 1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code. 2. Always post your code. 3. Never copy and paste code. You won't learn anything from doing that. 4. Quote Programming via Eclipse's hotfixes will get you nowhere 5. Learn to use your IDE, especially the debugger. 6. Quote The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it. Support & Bug Reports: Spoiler 1. Read the EAQ before asking for help. Remember to provide the appropriate log(s). 2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.
June 10, 20205 yr Author I'm trying to get vanilla server side's identity data from server side world.
June 10, 20205 yr 12 minutes ago, ChAoS_UnItY said: I'm trying to get vanilla server side's identity data from server side world. That is not possible. What will the end result of your mod be like? It sounds like you are using a wrong method in approaching your problem. Edited June 10, 20205 yr by DavidM Some tips: Spoiler Modder Support: Spoiler 1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code. 2. Always post your code. 3. Never copy and paste code. You won't learn anything from doing that. 4. Quote Programming via Eclipse's hotfixes will get you nowhere 5. Learn to use your IDE, especially the debugger. 6. Quote The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it. Support & Bug Reports: Spoiler 1. Read the EAQ before asking for help. Remember to provide the appropriate log(s). 2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.
June 10, 20205 yr Author My plan is to get server side's world and get tileentity data , I think two methods I mentioned earlier is the remote world so it doesn't get the real data.
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.