Topic category: User side tutorials
So I haven't seen any tutorials on this topic, so here we are! If you don't know, there is a GUI feature that allows you to render a entity/player in a GUI!
Example of entity rendering
Now, to get started create a GUI and a procedure
In the procedure, put this code;
You can put whatever entity in the selection box.
You can find the "static entity" block in the advanced tab, and the "return" block in flow control
(In terms of rendering a player, I'm not entirely sure how to do that at the moment.)
Now, in the GUI where you want your entity to be rendered, select the "Add Entity Model" button
Then in the "Display model entity provider" select your procedure from before
You can set the model scale to whatever you want, but just know that it can be a little weird at times if you make it huge
Also, make sure to tick "Follow mouse movement with rotation" so your entity follows where your mouse goes
And now if you test your GUI in-game, your entity will be rendered in a GUI!
To have a player model u just need to return Event/target entity
Every time I try this the game crashes, no matter what entity I enter. I'm using version 2023.3. Any advice?
Scratch that, figured out what was wrong. Is there any way to make armor render with the entity? Like making an armor stand wear a chestplate? I am attempting to backport the 1.20 Smithing mechanics and integrate it with my own smithing mechanics
is there a way to return the entity image on a GUI after you right click the creature?
trying to do here but all i render is the player lmao;
can i set the condition 'When player right click entity` then do that?
@AmosBirb one way you can render something like that is to just create a custom mob with the armor on. The mob creation has a feature to add built in armor. You can then put in the custom mob
@Grimlock gotcha. I suppose that'll have to work lol, my main concern was the fact that I'm using it in a 1.19 backport of the 1.20 Smithing Mechanics so that'd be a lot of entities. Who know maybe I'll figure something out using custom entity AI.
Ty
thanks a lot
I cant see the imagens
I cant see any of the images they dont exist