WebCraft icon indicating copy to clipboard operation
WebCraft copied to clipboard

Feature Request: Signs

Open W1THRD opened this issue 5 years ago • 1 comments

Wouldn't it be cool if players would be able to place signs? How to use:

  • Right-click to place sign
  • Control+click to edit sign text
  • Left-click to destroy sign

Thanks, Witherman17

W1THRD avatar Jul 08 '20 19:07 W1THRD

Feel free to add it. For the text rendering you could reuse the player nametags. You could have a list of signs and loop over them while rendering like over the players. If you want to save the signs over multiple sessions you have to modify the save structure. Currently only the block type is saved, a single letter per block (a for air, c for dirt, d for wood etc.). There is no support for TileEntities like signs (compare with Minecraft's complex save structure). For now the easiest way might be to keep the current world file, and just serialize the sign entity list to some entities.json

cymno avatar Nov 13 '20 15:11 cymno