fcelon Posted October 29, 2017 Posted October 29, 2017 Hello, I have created tile enitty with GUI and button. When player presses the button, message is sent to server informing it, that the tile entity should start crafting. However, how can the server know, which tile entity is the player interracting with? Is there any way to get this information? There isn't anythng like tile entity ID player could send to server to inform it. I can use coordinates to specify the tile, but it's not good idea. The number is too big and might reffer unloaded chunk. Another solution would be a raytrace result (player has to look at the tile entity to start the interraction), but that's not ideal solution either. Is there any better way? Thanks for any help. Quote
Recommended Posts
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.