How would I make a block that can send messages to other blocks of the same type?

Started by TVRC on

Topic category: Help with modding (Java Edition)

Last seen on 23:28, 6. Aug 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would I make a block that can send messages to other blocks of the same type?

Hello everyone! I am a new user (in terms of account age) that has been working on a miscellaneous mod for a while now, and I had an idea to make a 'terminal' of sorts, where you can enter a message into the block, select another terminal anywhere in the world and send the message along with any items.

Each terminal would have it's own unique ID starting at 0 and counting up to some arbitrary value such as the 8-bit integer limit (255). To send the message, one would enter the message in the text box, and in the next text box, they could write the ID of the terminal they wanted to send it to and then click the send button to send it. The message would then appear in the receiving terminal's receive text box, along with necessary items.

The thing is, I have no idea how to do this, and even something as simple as making a button to run the /say command in a GUI is beyond me, so any help would be amazing to a new user like myself.

Thank you!

Last seen on 10:22, 10. Jul 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think i see a solution but…
Mon, 06/06/2022 - 12:56

I think i see a solution but there 'd be only option to see only the last sent message. I'll try to sort this out but not sure how's it gonna end. If the 1st way's ok to u add me on discord- Liseł#5434 and I'll explain everything to u

Last seen on 23:28, 6. Aug 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't have discord, and I…
Mon, 06/06/2022 - 17:23

I don't have discord, and I'd rather not use it. Would you please try and find another way to message me? Thank you.