Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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 ^)

  • Author

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 by Sleepwalkerx

  • Author
46 минут назад Beethoven92 сказал:

Итак, насколько я понимаю, вы ищете что-то вроде маленькой модели игрока, которая отображается в вашем инвентаре, когда вы ее открываете, верно?

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.

 

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.