Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/29/18 in all areas

  1. NBT, I planned on making the mod opensource anyways. Ill do that the next days. This is my acc: https://github.com/cas-ual-ty
    1 point
  2. 1 point
  3. You need to call World#notifyBlockUpdate from the TileEntity whenever a value used by Block#getActualState changes. This tells the server to send the TileEntity's update packet to any nearby clients as well as telling them to re-draw the chunk containing the block, using the new actual state to select the model. You also need to call World#notifyBlockUpdate from TileEntity#onDataPacket so that the client re-draws the chunk whenever it receives the TileEntity's update packet. You can see an example of a block that uses TileEntity data in Block#getActualState here: BlockColoredRotatable, TileEntityColoredRotatable
    1 point
×
×
  • Create New...

Important Information

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