Jump to content

[1.14.4][Solved] TileEntityRenderer render a texture


Recommended Posts

Posted (edited)

I want to render a texture facing player, like barrier block. 

Anyone can help me? 

 

And another question why need I implements ITileEntityProvider in my block when it's despreciated?

I have the method createTileEntity override from Block but has no efect.

  Reveal hidden contents

Minecraft 1.14.4 - 28.045 

 

 

barrier block.png

Edited by Brbcode
Posted
  On 9/27/2019 at 6:54 PM, Brbcode said:

And another question why need I implements ITileEntityProvider in my block when it's despreciated?

Expand  

You don't just override hasTileEntity(BlockState) and createTileEntity(BlockState, IWorldReader)

 

  On 9/27/2019 at 6:54 PM, Brbcode said:

Anyone can help me?

Expand  

You need a TileEntityRendererFast

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.

Posted
  On 9/28/2019 at 2:46 AM, Animefan8888 said:

You need a TileEntityRendererFast

Expand  

I am already using it.

  Reveal hidden contents

I know slightly how open gl works, but the examples that I have seen works with models, boxes and imported obj files when I just need plane with a texture, and I don't understand how link textures.

Posted
  On 9/28/2019 at 8:43 AM, Brbcode said:

and I don't understand how link textures.

Expand  

Minecraft.getInstance().getTextureManager().bindTexture(...)

Will bind a texture to be used.

  • Like 1

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.

  • 10 months later...

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.