Commit Graph

30 Commits

Author SHA1 Message Date
ChomeNS
c39193881c refactor: improve player position tracking 2025-08-15 19:46:34 +07:00
ChomeNS
f8fd395761 fix: handle delta positions from the server 2025-06-25 17:40:03 +07:00
ChomeNS
2ab3a4322a refactor: use java 21 switch case ahh thing for packet checking 2025-04-23 15:20:29 +07:00
ChomeNS
db56afd319 feat: initial 1.21.5 with adventure still not being updated 2025-04-22 15:34:02 +07:00
ChomeNS
b8ea989026 fix: make the lists actually thread-safe (maybe, but pretty likely)
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Collections.html#synchronizedList(java.util.List)
> It is imperative that the user manually synchronize on the returned list when traversing it via Iterator, Spliterator or Stream
> Failure to follow this advice may result in non-deterministic behavior.
2025-04-21 20:15:47 +07:00
ChomeNS
decd15a926 refactor: have global Listener interface instead of creating one in each plugin
not sure how much this improves the code, readability and/or the performance but i hope they are better
2025-04-16 15:34:20 +07:00
ChomeNS
ed4e7573a9 refactor: use final on basically everything
i'm kinda tired of the inconsistency since some stuff are non-final and some are final so i just made everything final, not sure how much it impacts on stuff but everything should be fine, there were around 1,400 replacements according to the idea code analyzer
2025-04-09 17:05:11 +07:00
ChomeNS
00a374104d fix: mabe 2025-04-07 08:18:15 +07:00
ChomeNS
90323d3552 refactor: Reformat Code with chome NS code style !!!
too lazy to export it somewhere, if you need it feel free to ask me
2025-04-01 09:58:31 +07:00
ChomeNS
156a5af47f feat: /tp cooldown when going down from height limit 2025-03-31 17:13:56 +07:00
ChomeNS
bb0900eeb6 refactor: make packetReceived listeners private
Intelligent IDEA Replacing Feature.
2025-03-31 16:55:52 +07:00
ChomeNS
05854223b1 refactor: second ticker in TickPlugin 2025-03-25 20:05:50 +07:00
ChomeNS
0a8efe0189 refactor: make listeners an interface
(except the one in Bot, which extends MCProtocolLib's SessionAdaptor, not sure how exactly make them complement)
2025-03-23 14:18:55 +07:00
ChomeNS
5834a0584a fix: finally fix inaccurate player position (it was caused by me not handling ClientboundEntityPositionSyncPacket) 2025-03-21 14:22:06 +07:00
ChomeNS
38aab5d1f6 refactor: move some things idk
this will probably improve performance by 1 nanosecond
2025-03-21 11:09:56 +07:00
ChomeNS
bed87d2396 refactor: check server features using commands packet instead of tab completion (now tab completion is completely unused!) 2025-03-20 16:13:53 +07:00
ChomeNS
d44a29528c refactor: organize stuff in data package 2025-02-19 16:15:05 +07:00
ChomeNS
f3e502682c fix: no comment 2025-01-04 10:52:44 +07:00
ChomeNS
d09b9b37db fix: finally fix icu self care spam 2024-12-14 15:22:33 +07:00
ChomeNS
1afcfde5e5 fix: finally fix going up from void 2024-12-07 18:10:34 +07:00
ChomeNS
c2bab61c09 feat: update to 1.21.2-1.21.3 protocol
i tried compiling for 1.21.4, and it seemed to work, but most clones' viaversion is not that updated yet so i just stayed at 1.21.3
2024-12-07 14:15:46 +07:00
ChomeNS
7e09ea3257 fix: add login checks before sending packet when the state is not PLAY 2024-12-05 13:37:35 +07:00
ChomeNS
cb86896223 "fix": doesn't work 2024-11-03 19:34:57 +07:00
ChomeNS
e62de655ba fix: the commit before this 2024-11-02 19:30:24 +07:00
ChomeNS
0ddf042311 feat: automatically make the bot go down if currentY > maxY 2024-11-02 19:27:08 +07:00
ChomeNS
4764a8947e refactor: make maps in PositionPlugin public for access with servereval 2024-11-02 18:31:28 +07:00
ChomeNS
f1c98135a2 1.21 + a LOT of fixies and a bit of optimization. WorldPlugin is still broken with some debug lines 2024-10-06 20:46:51 +07:00
ChomeNS
837fe388bb rename group 2024-10-06 17:36:42 +07:00
ChomeNS
fbf9f3e2f1 change to land.chipmunk.chayapak because yes 2023-03-27 12:53:05 +07:00
ChomeNS
6e2eb9ec74 change chomens bot namespace yup 2023-03-24 09:04:55 +07:00