Jump to content

Malharhak

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Malharhak

  1. Hi,

     

    I've just finished some of the first forge tutorials to get started. Now the first mod I want to make is a simple thing : I have a few objects that I would like the player to be able to hang to walls (like paintings, but standard block size and no random texture).

     

    So I looked a little bit at Minecraft's code and saw the EntityPainting and EntityHanging, but I have no idea how they actually work, the code is pretty obscure.

    More specifically I didn't find anywhere in these classes where the texture is set. Also, I assume they are not created the same way a standard block so I'm not sure what I exactly need to do to make it work.

     

    Edit : I also couldn't find where the actual painting Item is in the code. I initially wanted to look at how it's done but the only thing I found is the EntityPaiting, which I assume is the result of the painting item being placed.

     

    Could anyone point me in the right direction to get started doing that ?

     

    Thanks !

×
×
  • Create New...

Important Information

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