Commit Graph

5838 Commits

Author SHA1 Message Date
mworzala
ac9615dbd5 fix: enchantment component rename 2024-12-03 10:45:16 -05:00
mworzala
5e71adffa6 feat: ConsumeEffect impl & enum nbt type generation 2024-12-03 10:45:16 -05:00
mworzala
efae42a45d feat: lots of minor fixes to item components 2024-12-03 10:45:16 -05:00
mworzala
6b541aa9d3 feat: explosion & vehicle info updates 2024-12-03 10:45:16 -05:00
mworzala
c2c16e28a2 feat: new recipe types, not migrated from old Recipe 2024-12-03 10:45:16 -05:00
mworzala
bc563d62cc feat: add PlayerTickEndEvent, other minor tweaks 2024-12-03 10:45:16 -05:00
mworzala
78bf734919 feat: first join 2024-12-03 10:45:16 -05:00
mworzala
86491c464c feat: most item component updates. biome crash on join 😭 2024-12-03 10:45:16 -05:00
mworzala
ce968a9b36 feat: particle changes 2024-12-03 10:45:16 -05:00
mworzala
72e9bb9930 feat: data gen & most packet changes 2024-12-03 10:45:16 -05:00
xZeGoe
884a093c3a fix javadoc (#2410) 2024-12-03 10:45:16 -05:00
themode
21b21005a2 Handle connection state in reading 2024-12-03 10:45:16 -05:00
TheMode
c092e7dd0b World generation/loading in virtual threads (#2400) 2024-12-03 10:45:16 -05:00
TheMode
62da78bb45 Handle state change in virtual threads (#2401) 2024-12-03 10:45:16 -05:00
mudkip
ffd0fabe10 Implement missing packets (#2392) 2024-12-03 10:45:16 -05:00
themode
eeacff801f Remove write condition 2024-12-03 10:45:16 -05:00
themode
959caeeb75 More packet writing utils 2024-12-03 10:45:16 -05:00
themode
47480f330b Fix build 2024-12-03 10:45:16 -05:00
themode
122651ea65 Add RecipeCompute 2024-12-03 10:45:16 -05:00
TheMode
6020788643 Add CoordConversion and ChunkRange (#2398) 2024-12-03 10:45:16 -05:00
TheMode
12e7bb327d entity status/meta storage (#2378) 2024-12-03 10:45:16 -05:00
Kerman
53e4e8d646 Rework LoginListener (#2384)
* Move kick to PlayerConnection

* Redo Mojang LoginListener

- Move away from HTTPClient and use MojangUtils
- Add feature to prevent proxy connections

* Kick before handling exception.

* Update to throw IOException back to the login listener.

* Use PlayerConnection#kick in HandshakeListener

Also remove unused import left over in Player
2024-12-03 10:45:16 -05:00
mudkip
5e2c1de0a5 fix javadoc (#2391) 2024-12-03 10:45:16 -05:00
themode
ba407a8a37 Remove Caffeine lib 2024-12-03 10:45:16 -05:00
themode
d04b11eebd Additional merging fixes 2024-12-03 10:45:16 -05:00
themode
30d86e1134 Remove buffer slice 2024-12-03 10:45:16 -05:00
themode
1913b0acf0 Remove caffeine from viewable packets 2024-12-03 10:45:16 -05:00
TheMode
a1048133d1 GameMode hardcoded abilities (#2366) 2024-12-03 10:45:16 -05:00
TheMode
5ccd0f0789 PlayerSettings record (#2365) 2024-12-03 10:45:16 -05:00
themode
388ed525aa Avoid reallocating buffer view 2024-12-03 10:45:16 -05:00
themode
dd1b584cd2 Add throws IndexOutOfBoundsException buffer warning 2024-12-03 10:45:16 -05:00
themode
879942e6ab fixes 2024-12-03 10:45:16 -05:00
TheMode
3f079d252e Network improvements (#2324) 2024-12-03 10:45:16 -05:00
mudkip
561470c82a Improve chat API (#2329)
* improve chat api

* fix typoes

* remove click event

* make requested changes
2024-12-03 10:45:16 -05:00
Eaterminer
000483dcde fix: grammatical mistake in PlayerChatEvent.java (#2313) 2024-12-03 10:45:16 -05:00
themode
a561cd0a3e Fix packet tests 2024-12-03 10:45:16 -05:00
TheMode
b5a53f8b6b Remove BinaryReader/Writer (#2291)
* Remove BinaryReader/Writer

* Fix UpdateEnabledFeaturesPacket
2024-12-03 10:45:16 -05:00
TheMode
00ca682d05 Compress packet serializers (#2289)
* WIP packet template serializers

* More packets

* More packets

* More packets

* No more packets

* rename to buffer

* less generic mess

* review stuff

* Fix ClientResourcePackStatusPacket enum

* Update UpdateEnabledFeaturesPacket
2024-12-03 10:45:16 -05:00
TheMode
e1e26cbd35 Get packet id from packet registry (#2288)
* Get packet id from packet registry

* Fix test, cleanup packet parser/registry

* Style
2024-12-03 10:45:16 -05:00
TheMode
6a95c6576d Recipe rework (#2285)
* Recipe rework

* Remove unnecessary lists

* Add remaining recipes

* Fix `dataSerializer`

* Fix DecoratedPot naming
2024-12-03 10:45:16 -05:00
TheMode
020c99fc44 PacketParser (#2283)
* PacketParser

* Remove old ClientPacketsHandler.java

* Use ClassValue, use packetparser subclass
2024-12-03 10:45:16 -05:00
TheMode
be6b723490 Remove MinecraftServer + Entity from packets (#2287)
* Remove `MinecraftServer` + `Entity` from packets

* No need for static cached packet
2024-12-03 10:45:16 -05:00
TheMode
9498b28fda Range rework (#2284)
* Range rework

* Range.Int
2024-12-03 10:45:16 -05:00
TheMode
3a8157f263 move enums (#2282) 2024-12-03 10:45:16 -05:00
mudkip
7ced218bf5 improve notification api (#2204) 2024-12-03 10:45:16 -05:00
Lukadcf
f966351cb7
Fixed switching slots while using item (#2500)
* Removed clearItemUse() from refreshHeldSlot() because offhand

* Use 0 itemUseTime if the player is already using their mainHand and tries to use their offHand as you can only use one hand at a time

* Call clearItemUse() only when not using offhand, also refreshActiveHand

* Removed duplicate check
2024-12-02 22:15:14 -05:00
Steank
ba55b05e14
fix: check spawn type before sending attributes packet (#2495)
* fix: check spawn type before sending attributes packet

* fix: add check in additional location where EntityAttributesPacket is sent
2024-11-30 21:57:29 +00:00
surv
afa8f4e96a
fix painting variants (#2490)
* fix: painting variants are now ordered and sent to the client correctly

* fix: use equals() to compare Strings

Co-authored-by: mudkip <mudkip@mudkip.dev>

* chore: add comment explaining painting variant check

* chore: improve explanation for painting variant exception

Proper support for "holder" types like this one should be added later.

---------

Co-authored-by: mudkip <mudkip@mudkip.dev>
2024-11-30 20:17:57 +00:00
Robert Dylan Brunson
f67112a584
fix position used in the 'onPlace' method when loading (#2409)
* fix position used in the 'onPlace' method when loading

* revert formatting change
2024-11-28 13:10:06 +00:00
mudkip
dc89d8d28c
remove tinylog service file (#2482) 2024-11-28 12:51:20 +00:00