Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.11.2] Rendering a block with a TESR


Rohzek
 Share

Recommended Posts

Trying to make a custom flowerpot; I have a TESR and it's Tile Entity stores an instance of  a BlockFlower or BlockBush as an itemstack.

So far, I've only seen information on how to render something as an EntityItem, but how do I render the flower block as a normal block, instead?

Developing the Spiral Power Mod .

こんにちは!お元気ですか?

Link to comment
Share on other sites

1 hour ago, diesieben07 said:

I don't see why you would want a TESR in the first place.

Because I have no idea how to do what I want (render a block you place into a tile entity as a block in the world), but Googling "Forge modding render (anything) gets 50% results for rending a custom model, and 50% results for using a TESR. I started working with the one that seemed relevant.

Edited by Rohzek

Developing the Spiral Power Mod .

こんにちは!お元気ですか?

Link to comment
Share on other sites

2 minutes ago, grand_gibus said:

Take a look at the minecraft flower pot! It uses blockstates. Might be simpler. :)

I'm hoping to be able to support any modded flower (or at least ones which are subclasses of BlockFlower and BlockBush), which is why getting a block from an itemstack and rendering it seemed way more simple than blockstates, assuming it's possible.

 

Developing the Spiral Power Mod .

こんにちは!お元気ですか?

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

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.