Commit graph

946 commits

Author SHA1 Message Date
Redned
a4952e39be
Bump version to 1.18-3-SNAPSHOT 2022-01-04 22:41:11 -06:00
DefineOutside
25b0e55a5e
Fix resizing a singleton palette (#681) 2022-01-04 22:40:00 -06:00
Camotoy
5a41c9f71c Release 1.18-2 2021-12-21 21:45:06 -05: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
circuit10
55fe033136
Add new 1.18 tags in example (#678) 2021-12-09 14:02:32 -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
RednedEpic
0a9b7f0bd7 Bump version to 1.18-2-SNAPSHOT 2021-11-29 21:56:20 -06:00
RednedEpic
34e4141db3 Use 1.18-1 as version 2021-11-29 21:55:05 -06:00
Redned
acddfeeb51
Merge pull request #672 from GeyserMC/feature/1.18
Update to 1.18
2021-11-29 21:36:03 -06:00
Redned
7795f6572f
Merge branch 'master' into feature/1.18 2021-11-29 21:34:13 -06:00
Camotoy
ed29b72e27
Fix block marker particle encoding 2021-11-29 22:26:58 -05:00
Redned
52082ea5c9
1.17.1-2 release 2021-11-29 21:26:45 -06:00
RednedEpic
098b2301ee 1.18 release 2021-11-29 21:24:56 -06: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
Camotoy
62492c961a
Entity metadata refactor; remove some MagicValues usages 2021-11-15 14:51:03 -05:00
Camotoy
155a3eb8f0
Update sound enum 2021-11-14 21:02:23 -05:00
Camotoy
ff76494a65
Properly implement block entity IDs and add tests 2021-11-14 12:05:39 -05:00
RednedEpic
8b7386a46a Never mind, this is not referenced directly but still is used 2021-11-13 23:16:57 -06:00
RednedEpic
b18835d2f3 Remove unused ChunkSection class 2021-11-13 23:13:50 -06:00
RednedEpic
a9e24e7cce Merge remote-tracking branch 'origin/feature/1.18-protocol-changes' into feature/1.18 2021-11-13 23:04:58 -06:00
RednedEpic
9705ac5c9b Merge branch 'feature/codec-refactor' into feature/1.18 2021-11-13 22:51:04 -06:00
Camotoy
d527164d4c
Initial update to 1.18 protocol 2021-11-13 23:48:38 -05:00
RednedEpic
78b4763b86 Rename ClientboundLevelChunkPacket to ClientboundLevelChunkWithLightPacket & other minor tweaks 2021-11-13 22:41:28 -06:00
RednedEpic
747d5f5655 Fix wrong rename 2021-11-13 20:44:14 -06:00
RednedEpic
44c235c86a Update variable name to chunkSection 2021-11-13 20:28:08 -06:00
RednedEpic
5b4ba5b8d0 Merge branch 'feature/1.18' into feature/codec-refactor 2021-11-13 20:10:44 -06:00
RednedEpic
955986da96 More renames 2021-11-13 17:14:13 -06:00
RednedEpic
127f253a82 Remove test code 2021-11-13 16:47:45 -06:00
RednedEpic
64410dbe48 Implement packet codec system to remove expensive protocol state switches
With the way this lib used to previously work, any time the protocol state changed, all the packet maps got cleared and had new packets inserted into them depending on the protocol state. This was unnecessarily expensive and although called rarely, it was not ideal.

The packet codecs added are static, immutable and can be reused across sessions. The codec system also opens up the door for multi-version capability in the future.
2021-11-13 16:44:55 -06:00
Camotoy
b3fb245b5b
Merge branch 'feature/1.18' of https://github.com/Steveice10/MCProtocolLib into feature/1.18 2021-11-13 15:29:23 -05:00