Jump to content

[1.10][Client Mod] Render a block model in the world


SHsuperCM

Recommended Posts

so lets say i want to render blockmodel a at location blah blah blah..

 

• all of its information is stored on client side(not messing with the server side at all)

 

• this blockmodel is spesified withing code and can be hardcoded(but i'd rather not)...

 

• this blockmodel's render location is static and changeable by other modules/keys/buttons/methods...

 

• i can set a static boolean to make it render/unrender as i wish...

 

• it follows the normal minecraft block rendering(json models that can be on blocks/items)

 

i have never touched custom renders and i would like to start on that, meaning i would probably not understand if you say something that everyone that made a custom render knows....

 

any help with that is greatly greatly appriciated!

Doing stuff n' things

Link to comment
Share on other sites

I want to say you might need to hard code the rendering, but if you can create and add a Model only client side you may be able to use BlockRendererDispatcher.renderBlock...

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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