MelonHell
5f7ac6fb72
public MetadataHolder.createMeta ( #2468 )
...
* public MetadataHolder.createMeta
* annotations
2024-12-03 10:45:16 -05:00
GreatWyrm
31652f9438
Fix damage invulnerablity checks ( #2467 )
...
* Fix damage invulnerablity checks
* Clean up immune check
2024-12-03 10:45:16 -05:00
GreatWyrm
0ca31db4ae
Update Inventory test and sending ( #2463 )
...
* Update Inventory test and sending
* Remove unused imports
* Remove testing tracker
* Fix off-by-one error in the Check.argCondition
2024-12-03 10:45:16 -05:00
mworzala
d8a26b977b
chore: rebase fix
2024-12-03 10:45:16 -05:00
mworzala
2ae8986ff9
fix: do not allow fetching cookies inside the PlayerProvider, kick player in some login failure cases
2024-12-03 10:45:16 -05:00
mworzala
2df89f23c9
fix: make new packets ComponentHolding
2024-12-03 10:45:16 -05:00
mworzala
b7d89c84a7
fix: update to use new player inventory slot packet and dedicated cursor item packet
2024-12-03 10:45:16 -05:00
mworzala
87a662cfcb
fix: javadoc patch
2024-12-03 10:45:16 -05:00
mworzala
685dd152b7
fix: change state before processing packet for state boundary packets
...
Fixes an issue where disconnects during the first phase of login would write a DisconnectPacket instead of LoginDisconnectPacket because the state was not yet updated to be login from handshake.
2024-12-03 10:45:16 -05:00
mworzala
03856ccc21
chore: test fixes for 1.21.2
2024-12-03 10:45:16 -05:00
MelonHell
b0ff6941d6
Removed permissions ( #2302 )
2024-12-03 10:45:16 -05:00
Lorenz Wrobel
202889b854
Fix Instamine ( #2340 )
...
* use custom data generator - change back to official when done
* initial calculation
* use submerged mining speed attribute
* use ticks instead of seconds as calculation result
* attribute command
* testinstabreak command
* add Tag.toString(), don't know why this isn't added yet
* update method name to reflect field
* update and fix calculation
* actually use calculation in PlayerDiggingListener
* some logging for testing, gotta remove later
* remove FIXME comment, mineable should be handled correctly by calculation and enchantments don't affect the calculation, only attributes do.
* player.isInstantBreak() is included in calculation
* more + better testing logging
* add break block logging
* use GameMode.CREATIVE instead of isInstantBreak as check. isInstantBreak is named poorly, doesn't do what you'd expect
* fix typo
* bamboo test
* support bamboo
* sanity check when finishing digging
* me dumb
* anvil inventory for testing instabreak ability
* remove early GameMode check, included in calculation
* add stone to testing command
* add bamboo reason comment
* update data generator to rv4
* remove aqua affinity check
* remove logging
* add wiki link
* remove logging
* remove blank newline
* better name
* correct fluid height calculation
* remove unused imports
* more testing setup
* improve/correct comment
* add tests for stone (with diamond pickaxe) and wool (with shears)
* update comment
2024-12-03 10:45:16 -05:00
GoldenStack
e0939f089b
Integrate PlayerInventory ( #2332 )
...
* Integrate player inventory and normal inventory
* Fix errors and broken tests (drop before adding, wrong order, etc)
* Refactor slot refreshing
* Fix viewer logic error
* Fix incorrect merge
* Move inventory update
* Minor simplifications
* More minor simplifications
2024-12-03 10:45:16 -05:00
igalaxy
41738bb62a
Fix a few item component issues ( #2437 )
...
* Update DyedItemColor.java
* Update FilteredText.java
2024-12-03 10:45:16 -05:00
mworzala
052ea4456f
fix: update multi block change packet format
2024-12-03 10:45:16 -05:00
mworzala
fae0c354f3
fix: update place block packet (tests)
2024-12-03 10:45:16 -05:00
mworzala
00d198abe7
fix: update place block packet
2024-12-03 10:45:16 -05:00
MelonHell
1315161776
fix LoginListener.enterConfig ( #2449 )
2024-12-03 10:45:16 -05:00
mworzala
1c05030927
chore: rename SteerVehicle packet to input packet to reflect change into always being sent.
2024-12-03 10:45:16 -05:00
mworzala
09bc7c4669
chore: remove duplicated relative flags
2024-12-03 10:45:16 -05:00
mworzala
0b24134dc4
feat: convert command parser string to generated enum
2024-12-03 10:45:16 -05:00
mworzala
5c6fd7e849
fix: switch connection back to config state on config ack
2024-12-03 10:45:16 -05:00
MelonHell
378c10a84f
Update RelativeFlags ( #2447 )
2024-12-03 10:45:16 -05:00
MelonHell
85ae6ea821
AsyncPlayerPreLoginEvent getConnection ( #2446 )
...
* AsyncPlayerPreLoginEvent getConnection
* reorder fields
2024-12-03 10:45:16 -05:00
mworzala
5e17487155
fix: allow custom player provider in env tests ( fixes #2438 )
2024-12-03 10:45:16 -05:00
mworzala
102db50d05
chore: test for parsing commands packet with 'unsupported' arg parser
2024-12-03 10:45:16 -05:00
mworzala
5df2328c02
chore: rebase fixes
2024-12-03 10:45:16 -05:00
mworzala
3f1841b669
fix: add new customName field to potion contents
2024-12-03 10:45:16 -05:00
mworzala
14aa2d5d5c
feat: 1.21.2 release, test/behavior fixes
2024-12-03 10:45:16 -05:00
mworzala
12586323ec
feat: entity meta changes
2024-12-03 10:45:16 -05:00
GreatWyrm
5cf30408d2
Refactor boat and minecart metadata to pull out common fields, register new boats, and add a default metadata for the creaking ( #2444 )
2024-12-03 10:45:16 -05:00
mworzala
ffe42a243f
chore: experimentation with delta component of moves
2024-12-03 10:45:16 -05:00
GreatWyrm
0605a87b5d
Fix EntityTeleportPacket ( #2442 )
2024-12-03 10:45:16 -05:00
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