CC-Tweaked/src/main/java/dan200/computercraft/shared/turtle
Jonathan Coates de6f27ceaf
Rewrite speaker networking code
Speakers now play sounds using a custom set of packets.
 - When playing a sound, we send the resource id, position, volume,
   pitch and a UUID for the _speaker_ to all nearby clients.
 - This UUID is then used when we need to update the sound. When the
   speaker is moved or destroyed, we send a new packet to clients and
   update accordingly.

This does have one side effect, that speakers can now only play one
sound at a time. I think this is accceptable - otherwise it's possible
to spam ward in a loop.

Notes still use the old networking code, and so will not be affected.

Closes #823
2021-06-18 22:23:04 +01:00
..
apis Rewrite speaker networking code 2021-06-18 22:23:04 +01:00
blocks Remove m_ (#658) 2021-01-15 16:35:49 +00:00
core Put some limits on various external queues 2021-06-06 19:26:20 +01:00
inventory Add additional buttons to the computer GUI (#809) 2021-06-06 19:32:52 +01:00
items Allow cleaning dyed turtles in a cauldron 2021-05-29 15:18:53 +01:00
recipes Reformat src/main/java 2021-01-14 09:09:02 +00:00
upgrades Rewrite speaker networking code 2021-06-18 22:23:04 +01:00
FurnaceRefuelHandler.java 2020 -> 2021 2021-01-06 17:13:40 +00:00