71 Commits

Author SHA1 Message Date
Semmieboy YT
620f06930d Update to Minecraft 1.20.5, switch to java 21, and a couple general code improvements 2024-04-24 12:30:41 +02:00
Semmieboy YT
f0145d093d Bump version 2024-04-24 11:24:21 +02:00
Semmieboy YT
96fc8d572d Make omnidirectional note block sounds the default 2024-04-24 11:18:23 +02:00
Semmieboy YT
b26ca7281c Simplify and improve omnidirectional note block sounds 2024-04-24 11:17:49 +02:00
Semmieboy YT
0141bdb7cd Finish omnidirectional note block sounds feature 2024-04-24 11:00:19 +02:00
Semmieboy YT
9a4e5a24f1 Removed a debugging print statement 2024-04-24 09:18:11 +02:00
SemmieDev
88800c055f
Merge pull request #21 from EnderKill98/feature/bugfixes-and-improvements
Bugfixes and improvements
2024-04-24 08:58:56 +02:00
EnderKill98
26d925f4fa Add option and support to specify "nothing" as a mapped instrument
Allows to discard instruments entirely
2024-04-17 17:26:15 +02:00
EnderKill98
281048f33a Add ability to loop the same song via command 2024-04-16 02:56:42 +02:00
EnderKill98
8de17aacc8 Expose ability to map instruments via command 2024-04-16 02:45:47 +02:00
EnderKill98
3e359b6435 Correct wrong assumption in comment 2024-04-16 01:40:45 +02:00
EnderKill98
3529607761 Add option to disable async playback. 2024-04-16 01:37:29 +02:00
EnderKill98
a219ab46b9 Fix a null pointer
Seems to crash the playback thread when leaving
while playing. In sync it could crash the entire client.

The playback threads gets restarted when rejoining and playing
again through. So not the cause for #16 or similar issues.
2024-04-16 01:21:03 +02:00
Semmieboy YT
92726a6566 Fixed background texture appearing washed out 2024-01-16 14:17:12 +01:00
Semmieboy YT
51ac27729b Bump mod version 2024-01-02 10:28:28 +01:00
SemmieDev
432ad97d2a
Merge pull request #13 from EnderKill98/main
Update to 1.20.4
2024-01-02 10:05:54 +01:00
EnderKill98
0e5d0ed520 Fix gui display issues 2023-12-31 22:56:11 +01:00
EnderKill98
2c32646ec4 Update to 1.20.4 2023-12-31 22:43:29 +01:00
Semmieboy YT
cc21f2e504 Fix repository link 2023-09-23 11:26:24 +02:00
Semmieboy YT
dafb03aca5 Update to 1.20.2 2023-09-23 11:22:22 +02:00
Semmieboy YT
9a92547019 Bumped version and added credit 2023-06-19 14:15:35 +02:00
SemmieDev
1469132322
Merge pull request #9 from EnderKill98/feature/make-mergable
Add numerous new features to Disc Jockey
2023-06-17 16:14:27 +02:00
EnderKill98
fdf171ac6a Add two new subcommands: speed and info 2023-06-16 18:34:53 +02:00
EnderKill98
ea852c2481 Remove funny head rotation / "progress bar" when tuning.
This will look very silly and sus to people.
2023-06-16 18:10:14 +02:00
EnderKill98
239e4f03f4 Prevent crashes when loading invalid or otherwise problematic songs. 2023-06-16 18:09:54 +02:00
EnderKill98
ad8f94ee27 Update Song Player with a lot of new features
**Async and, client tps and lag independent playback**

Playback should work in any conditions. No matter how fast/slow or laggy or
inconsistent the client is. The client itself may not hear it in the correct
timing, but other players will.

The way song ticks are progressed was overhauled and simplified as well. This
enables changing the speed of the song or seeking it.

**Overhauled tuning**

Tuning got overhauled and is now much quicker. It also will try to tune the
least amount possible, which makes tuning when changing songs a lot quicker.

It assumes changes going through and should work on any ping. Though initial
wrong ping information combined with very bad or fluctuating ping can cause
the tuning to overshoot and never finish (should be very unlikely and resolve
itself after some time).

**Added a few variables to control playback better**

Variables like didSongReachEnd, missingInstrumentBlocks and some others are
used to have more fine grained control from other mods (for implementing a
playback queue or getting more info about tuning issues). I'd like them
preserved but can understand if they do not make much sense.

speed is also not changed in the mod self right now, but i think there
could be some UI element added to have fun with it. Same for instrumentMap.

**Tick listener is always enabled**

I stumbled upon some crashes when it was removing / adding it, so I made the
tick listener permanent. It should not have any significant performance
implications anyway.

**Added packet rate limit**

When playing back, the own packets are being kept track of. If they get very
high, the client will stop sending "cosmetic" packets and if they get close to
the packet rate limit of servers, it'll interrupt playback for brief periods
to prevent getting packet kicked.

This was added to not get kicked for playing "Rush E" or setting very high "speed"s.

**Reduce amount of swining**
Does not swing arm for every note played but roughly every serverside tick.
This reduces wasted packets no one is going to see anyway.

**Use server side distance check**

Use the same check the server uses to determine if a noteblock can be reached
or not. Increases range to the max allowed.

**Other changes**

I probably forgot some other changes here as well. Many were added a while back
and there were probably numerous other fixes for stability’s sake. So excuse me
for not recounting every single one.
2023-06-16 18:07:49 +02:00
Semmieboy YT
5fbb54de7f Update to 1.20.1 2023-06-12 20:46:26 +02:00
Semmieboy YT
6a9ea0fb77 Update to 1.20 release candidate 1 2023-05-12 23:46:00 +02:00
Semmieboy YT
b7b26a767d Make the toast only appear if the user attempted to access the songs 2023-04-01 21:54:10 +02:00
Semmieboy YT
9251163a02 Update to 1.19.4 2023-03-19 18:43:36 +01:00
SemmieDev
9f5df05202
Update README.md 2022-12-08 18:55:37 +01:00
Semmieboy YT
f2e8c6174a Update to 1.19.3 2022-12-08 18:43:28 +01:00
Semmieboy YT
0078f0e786 Update to 1.19.1 2022-07-30 11:11:39 +02:00
Semmieboy YT
70d826b4a9 Update to 1.19.1-pre3 2022-07-06 20:47:35 +02:00
Semmieboy YT
9a9f5ef9f2 Update to 1.19.1 rc 1 2022-06-25 12:23:26 +02:00
Semmieboy YT
a7a1e20750 Made the mod compatible with possible future 1.19 versions 2022-06-07 18:47:17 +02:00
Semmieboy YT
564e012e0c Update to 1.19 2022-06-07 18:43:31 +02:00
Semmieboy YT
2fa831d6d9 Included cloth config 2022-06-07 18:28:53 +02:00
Semmieboy YT
94cb4c182c Fixed a translation 2022-06-07 13:20:12 +02:00
Semmieboy YT
3c601145d5 Update to 1.19 rc 2 2022-06-05 16:08:00 +02:00
Semmieboy YT
4c4398d2cd Performance improvement 2022-06-02 21:19:45 +02:00
Semmieboy YT
21beaa1f27 Added a warning 2022-06-02 20:27:28 +02:00
Semmieboy YT
f01a6a40e3 Update to 1.19 rc 1 2022-06-02 20:11:13 +02:00
Semmieboy YT
0e28e33bf9 Added a drag and drop feature for songs 2022-06-02 20:02:05 +02:00
Semmieboy YT
b87a6b3586 Added a not yet ready for public mono sound mode 2022-06-02 16:23:01 +02:00
Semmieboy YT
cfdf9fcca0 Bugfix 2022-06-01 21:24:42 +02:00
Semmieboy YT
839558f59b Made a config menu 2022-06-01 20:52:10 +02:00
Semmieboy YT
4b63771be6 Update to 1.19 pre 5 2022-06-01 20:25:54 +02:00
Semmieboy YT
839283a8fa Added config and favorites 2022-06-01 19:52:34 +02:00
Semmieboy YT
f8de065ce3 Getting reach from the correct place creating more compatibility with other mods 2022-05-31 21:08:12 +02:00