Commit graph

20 commits

Author SHA1 Message Date
Camotoy
2420e33149 Allow some invalid decompression handling 2021-12-20 20:55:29 -05:00
Camotoy
24f09e016d Entity IDs in Java Edition just need to be integers
We don't need to keep them as longs - this just reduces the amount of casting needing throughout the codebase.
2021-12-20 19:25:11 -05:00
Camotoy
892855415b
Fix offset team colors
Fixes #2674
2021-12-11 16:05:12 -05:00
David Choo
ad5a98c859
Improve Statistics Form (#2667)
* Improve statistics form

Fix furnace minecart java identifier
Use clean Java identifier in times mined
Fix icons for statistic form

Show all generic statistics by initializing them to zero
Color every other line grey
Format numbers like on Java Edition

* Update for Java 16 and MCProtocolLib changes

* Sort all statistics alphabetically and color them.

* Update for MCProtocolLib changes

* Re-add clean java identifiers registry and properly fix block break statistics

Also translate before sorting >.>

* Use toLowerCase(Locale.ROOT)

* Use the format provided by MCProtocolLib

* Simplify condition

* Move statistics init and bump MCProtocolLib version
2021-12-07 20:05:44 -05:00
Camotoy
6a77253ef2
Fix Bedrock proxy protocol support 2021-12-01 22:47:33 -05:00
Camotoy
35d8707ed6
Fix potential IndexOutOfBounds error with BlockDestructionPacket 2021-12-01 10:17:36 -05:00
Camotoy
75d1a6364c
Gracefully handle invalid block entity types 2021-11-30 15:06:47 -05:00
Camotoy
2d79de4a6b
Bump to 1.18 release (won't work until Tuesday) 2021-11-29 22:32:09 -05:00
David Choo
a305c22665
1.18 entity name and metadata changes (#2651)
* Fix amount & javaId being used before it is initialized

Fixes invisible falling blocks and incorrectly sized exp orbs

* Add missing item metadata to throwable items and fireballs

Renamed ItemedFireballEntity -> FireballEntity

* Renamed more EntityDefinitions to match MCProtocolLib

* Add some missing metadata and add null check

* Use entity type when possible in debug spawn message

Fallback onto classes simple name
Also don't register ENDER_DRAGON_PART

* Remove redundant entity identifiers and fix END_CRYSTAL and FISHING_BOBBER identifiers

minecraft:end_crystal -> minecraft:ender_crystal
minecraft:fishing_book -> minecraft:fishing_hook

* Cave spider should inherit metadata from spider

* Keep entity definitions in roughly alphabetical order

* Alphabetize entity definitions

* ABCs?

* Bump MCProtocolLib version
2021-11-26 23:03:46 -05:00
Camotoy
44083b80af Update to 1.18-rc3 2021-11-26 21:01:37 -05:00
Camotoy
8f1acf17f9 Update MCProtocolLib 2021-11-25 11:55:59 -05:00
Camotoy
cef803af36 Update for PacketLib changes 2021-11-24 23:38:21 -05:00
Camotoy
d8254cb0b2 Update for PacketLib changes 2021-11-24 19:42:55 -05:00
Camotoy
e44b089e19 Update MCProtocolLib 2021-11-24 12:31:41 -05:00
Camotoy
42aca7f00c Update to 1.18-pre8 2021-11-24 10:48:55 -05:00
Camotoy
822b1e698e Switch to a static MCProtocolLib commit 2021-11-24 10:26:40 -05:00
Camotoy
b2d1212359 Bump Geyser to version 2.0.0-SNAPSHOT 2021-11-24 10:14:27 -05:00
RednedEpic
83ddbd7d1a Initial api draft 2021-11-21 12:36:42 -06:00
RednedEpic
3f5cb29ee0 The Great Refactor Part 2 - org.geysermc.connector -> org.geysermc.geyser 2021-11-20 15:34:30 -06:00
RednedEpic
0b5009b415 The Great Refactor Part 1 - connector -> core 2021-11-20 13:56:40 -06:00
Renamed from connector/pom.xml (Browse further)