Commit graph

731 commits

Author SHA1 Message Date
RednedEpic
5eac59d8f4 Update to PacketLib 3.0 2022-05-29 19:48:37 -05:00
davchoo
3e163501aa
Combine SoundEvent and ParticleEvent into LevelEvent
Remove them from MagicValues
Add new Sculk Block charge level event + event data
Add new Sculk Shrieker shriek level event
2022-05-26 19:57:21 -04:00
Camotoy
4dff74676b
Fix NPE if player info had no signed data 2022-05-26 17:53:38 -04:00
davchoo
938c86df4c Fix PaintingType order and remove them from MagicValues
PIGSCENE for some reason is missing an underscore on Java
2022-05-26 16:28:36 -04:00
davchoo
a63853f9e5 Update block ids in ClientboundBlockEventPacket 2022-05-26 15:27:08 -04:00
davchoo
e52abe7df2 Fix ParticleType decoding in ClientboundLevelParticlesPacket and add new ParticleTypes 2022-05-26 14:41:03 -04:00
Camotoy
f63752c00e
Add new poses 2022-05-26 13:19:21 -04:00
Camotoy
9255986c37
Don't use MagicValues for MessageType and fix player chat decoding 2022-05-25 19:34:32 -04:00
Camotoy
0a733c7139
Switch all Position instances to Vector3i 2022-05-25 19:17:37 -04:00
Camotoy
055d1f5269
Add Cloudburst Math; add metadata types; other fixes 2022-05-25 18:42:42 -04:00
D3ATHBRINGER13
62ba5aa8a2 Fix tests a bit 2022-05-25 21:20:25 +01:00
D3ATHBRINGER13
d0e98a0516 1.19-pre3 2022-05-25 17:45:51 +01:00
D3ATHBRINGER13
d4fa7b4458 1.19-pre2 2022-05-23 18:08:06 +01:00
D3ATHBRINGER13
54073a6cf9 Missed some 2022-05-20 13:26:02 +01:00
D3ATHBRINGER13
5cad78b15e Update enums 2022-05-19 21:19:24 +01:00
D3ATHBRINGER13
54c47dcc65 Actually fix building 2022-05-19 20:33:01 +01:00
D3ATHBRINGER13
6d09b95665 Fix building 2022-05-19 20:01:31 +01:00
D3ATHBRINGER13
29c230f71d Main packet changes up to 1.19-pre1 2022-05-19 19:51:22 +01:00
Camotoy
0771504e12 Use spaces instead of tabs for project consistency 2022-03-05 16:57:28 -05:00
John
835929d57d
Make title in ClientboundOpenScreenPacket a component (#688) 2022-03-05 16:56:57 -05:00
Camotoy
7efa6360dc
Merge branch 'feature/1.18.2' 2022-02-28 09:59:36 -05:00
Camotoy
cbf30881e8
Initial 1.18.2 update 2022-02-26 22:59:26 -05:00
John
7211f65060
Change modifier of setState method (#685) 2022-02-14 21:26:29 -06:00
D3ATHBRINGER13
f4f2ec09fe
Optimize imports (#687) 2022-02-14 21:26:12 -06:00
blablubbabc
15df12a61a
Fixed: Added missing MoveToHotbarAction value for the swap with off-hand inventory action. (#682) 2022-01-11 10:30:42 -05:00
DefineOutside
25b0e55a5e
Fix resizing a singleton palette (#681) 2022-01-04 22:40:00 -06:00
Camotoy
6a23a780af Update for latest PacketLib changes 2021-12-20 20:42:34 -05:00
Camotoy
c247b1fde8
NONE is not a TeamColor 2021-12-11 15:52:17 -05:00
David Choo
a991afe629
Store EntityType in entity statistics; rename GenericStatistic (#674) 2021-12-07 19:34:03 -05:00
Camotoy
69709912fe
Fix potential IndexOutOfBounds error with BlockDestructionPacket 2021-12-01 10:12:17 -05:00
Camotoy
bcd83c673a
Enable encryption in the server listener 2021-11-30 20:25:10 -05:00
Camotoy
6edba113e2
Gracefully handle invalid block entity types 2021-11-30 15:00:50 -05:00
Camotoy
ed29b72e27
Fix block marker particle encoding 2021-11-29 22:26:58 -05:00
RednedEpic
c3bda123fd Bump to 1.18 release 2021-11-29 21:21:48 -06:00
David Choo
f7f84e73cf
Rename entity types to match Java and move away from MagicValues (#669)
* Rename entity types to match Java and move away from MagicValues

Removed WeatherEntityType since it was unused since 1.16

Renamed:
MINECART_CHEST -> CHEST_MINECART
MINECART_COMMAND_BLOCK -> COMMAND_BLOCK_MINECART
MINECART_FURNACE -> FURNACE_MINECART
MINECART_HOPPER -> HOPPER_MINECART
MINECART_SPAWNER -> SPAWNER_MINECART
MINECART_TNT -> TNT_MINECART
PRIMED_TNT -> TNT
THROWN_EGG -> EGG
THROWN_ENDERPEARL -> ENDER_PEARL
THROWN_EXP_BOTTLE -> EXPERIENCE_BOTTLE
THROWN_POTION -> POTION

* Use readEnum in EntityType

* Fix HORIZONTAL_VALUES in Direction

This fixes painting direction in ClientboundAddPaintingPacket
2021-11-26 22:49:51 -05:00
Camotoy
7f7808e231 Update to 1.18-rc3 2021-11-26 11:49:59 -05:00
Camotoy
825804d194 Update for 1.18-rc1 2021-11-25 11:54:26 -05:00
Camotoy
8eca14983a Update for PacketLib changes 2021-11-24 23:33:39 -05:00
Camotoy
a581308cff Update for MCProtocolLib changes 2021-11-24 19:29:37 -05:00
Camotoy
1125e22038 Fix setting same ID block in singleton palette 2021-11-24 12:28:58 -05:00
Camotoy
7eb2748a03 Update to 1.18-pre8 2021-11-24 10:47:15 -05:00
Camotoy
b71a7e2fa8
Update to 1.18-pre7 2021-11-23 13:34:21 -05:00
Camotoy
2ab91cf50a
Update to 1.18-pre6 2021-11-23 11:21:37 -05:00
Camotoy
efa4019a3d
Move attributes away from MagicValues and allow custom attributes 2021-11-23 10:54:59 -05:00
Camotoy
0662fb715f
Fix optional int metadata reading/writing 2021-11-20 15:20:47 -05:00
RednedEpic
4ded30ee86 Bump to pre5 2021-11-20 13:19:25 -06:00
RednedEpic
64ae35628e Improve entity metadata system & fix chunk test 2021-11-20 13:13:46 -06:00
Camotoy
a22d016a8e
Implement proper biome palette reading 2021-11-19 18:59:27 -05:00
Camotoy
a4267d0fe8
Update to 1.18-pre4 2021-11-18 16:08:59 -05:00
Camotoy
b8e980163c
Add equals and hashcode checks that include value 2021-11-18 11:16:53 -05:00