Sleepwalkerx Posted January 9, 2021 Posted January 9, 2021 Hello. I want to implement the display of a three-dimensional multi-block structure in the GUI, which the player can rotate as he wants. At the moment the problem is in the implementation of the display of this, since I want to implement it on the example of rendering the world and chunks. That is, my structure essentially consists of blocks, which are also reduced by the player on the GUI. The implementation method via itemRender ("inventory") does not suit me. I've been digging into the game code for a very long time and I just can't find what I want. I ask you to show me exactly where I can find out the implementation of what I want from the source (well, or your ideas) P.s -> wrote through a translator, there may be mistakes ^) Quote
Beethoven92 Posted January 9, 2021 Posted January 9, 2021 So, from what i understand, you are looking for something like the little player model that renders in your inventory when you open it, right? Quote Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port
Sleepwalkerx Posted January 9, 2021 Author Posted January 9, 2021 (edited) Yes, that is right. But I want to implement it exactly on the example of loading the structure. Let's say there is a house structure (this is a separate file, where everything is written, where is which block), then the file is deserialized and you need to display this structure. It really looks like the player model in the inventory, but differs in that you need to somehow connect all the blocks together. Edited January 9, 2021 by Sleepwalkerx Quote
Sleepwalkerx Posted January 9, 2021 Author Posted January 9, 2021 On 1/9/2021 at 1:08 AM, Beethoven92 said: Итак, насколько я понимаю, вы ищете что-то вроде маленькой модели игрока, которая отображается в вашем инвентаре, когда вы ее открываете, верно? Expand Yes, that is right. But I want to implement it exactly on the example of loading the structure. Let's say there is a house structure (this is a separate file, where everything is written, where is which block), then the file is deserialized and you need to display this structure. It really looks like the player model in the inventory, but differs in that you need to somehow connect all the blocks together. 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.