Commit graph

546 commits

Author SHA1 Message Date
DoctorMacc
da45dc9165
20w30a 2020-07-24 10:37:32 -04:00
DoctorMacc
d45c08d2c4
Bump up protocol version; fix start game packet; fix entity numbering 2020-07-20 18:58:37 -04:00
Mark Kennedy
ef52234a46
Add piglin brute sounds and bump version 2020-07-20 18:30:13 -04:00
DoctorMacc
eb95f54d3d
Update chunk data packet (may not be finished) 2020-07-19 22:24:41 -04:00
DoctorMacc
63635274a4
Implement changes for ServerMultiBlockChangePacket 2020-07-19 21:57:46 -04:00
DoctorMacc
29402d2827
Fix MagicValues for CraftingBookStateType 2020-07-19 21:45:46 -04:00
DoctorMacc
57024e7e87
Clean up 2020-07-19 21:13:59 -04:00
Mark Kennedy
1ea5b07fb0 Update to 1.16.2
Start to update to 1.16.2
This is my first time working with packets, so sorry if there are a lot of issues.
2020-07-17 17:12:23 +01:00
Steveice10
46b46001f6 Remove equals and hashCode ignore from chunks and fix example. 2020-07-10 17:31:26 -07:00
Heath123
cf831e48af
Change variable names to fix build failure 2020-07-10 11:43:43 +01:00
Heath123
9996ede225
Actually fix FlexibleStorage thanks to @Johni0702
Co-authored-by: Jonas Herzig <me@johni0702.de>
2020-07-10 11:39:28 +01:00
Heath123
f03b458f40 Fix "set" in FlexibleStorage 2020-07-10 11:22:39 +01:00
rtm516
84735b8b6c Add HandPreference for better ClientSettingsPacket handling 2020-07-07 17:11:42 +01:00
DoctorMacc
5ae19c18d2 Move FlexibleStorage magic value constant to the beginning of the file 2020-07-02 17:59:48 -04:00
DoctorMacc
9d3bc72d8b Update Forge attributes 2020-07-02 17:55:45 -04:00
DoctorMacc
6aff3602c1 Final fixes 2020-07-02 17:43:17 -04:00
DoctorMacc
080055cb73 Remove the import, too. 2020-07-01 08:35:09 -04:00
DoctorMacc
06fe8d74c1 Remove @Nullable 2020-07-01 08:12:18 -04:00
DoctorMacc
f7235d65a2 Use Identifier for ServerEntityProperties; implement read and write methods for previous gamemode 2020-06-30 22:32:42 -04:00
DoctorMacc
10bb8e2744 Don't assert equipment item as null; read slot as byte and not int 2020-06-29 15:54:26 -04:00
rtm516
e4798a3861 Move to builder usage for HoverMessages 2020-06-29 13:23:47 +01:00
DoctorMacc
5c8a435832 Merge branch 'master' of https://github.com/Steveice10/MCProtocolLib into feature/1.16 2020-06-29 01:42:19 -04:00
Steveice10
0572ff9a3e Add method to copy messages into builders for modification. 2020-06-28 16:05:29 -07:00
rtm516
4f07aea25c Remove empty MessageStyle.java 2020-06-28 23:58:43 +01:00
rtm516
c88fac7156 Make suggested changes to Message related code 2020-06-28 23:44:26 +01:00
rtm516
74ee57a454 Fix ItemHoverMessage and add MessageSerializer.toJsonObject 2020-06-28 14:24:36 +01:00
rtm516
0ffcb7eb47 Add backwards compatability to HoverEvents
It now supports the depreciated value as well as the new contents
2020-06-28 13:06:08 +01:00
DoctorMacc
e9486c1220 Add UNDEFINED as a gamemode 2020-06-28 02:26:50 -04:00
DoctorMacc
ac50bdfdc2 Add test for ServerEntityEquipmentPacket and fix write method 2020-06-28 00:20:59 -04:00
RednedEpic
f88c15ee5c Add smithing WindowType 2020-06-27 22:59:19 -05:00
RednedEpic
2a70a11b07 Also add workaround for previous gamemode to ServerRespawnPacket 2020-06-27 22:55:47 -05:00
rtm516
762fca77e3 Fix HoverEvent messages 2020-06-26 23:20:09 +01:00
rtm516
b43dcab2e1 Remove unnecessary MessageSerializer function 2020-06-26 22:10:22 +01:00
rtm516
157133173c Fix messages with HoverEvents causing NPEs and unknown message errors 2020-06-26 21:49:37 +01:00
DoctorMacc
c2c8e2da2d Update ServerEntityEquipmentPacket 2020-06-25 21:47:11 -04:00
DoctorMacc
c614376c0c Add workaround for if previous gamemode is set to 255 2020-06-25 10:40:55 -04:00
DoctorMacc
f9d0a142a0 Work with namespaced and non-namespaced attribute values
Fixes CubeCraft and Mineplex servers
2020-06-24 22:04:27 -04:00
DoctorMacc
369120ac47 Read smithing crafting data 2020-06-24 19:19:25 -04:00
DoctorMacc
48a42d3e58 (Fully) remove beacon block value as it was likely removed 2020-06-24 11:12:10 -04:00
DoctorMacc
15d3b7436d Update for 1.16.1 2020-06-24 11:10:20 -04:00
DoctorMacc
d78305ef8d Remove debug line 2020-06-23 19:02:13 -04:00
DoctorMacc
c9494abc38 Add all known new block values 2020-06-23 19:01:09 -04:00
Tim203
b0229a67b5
Exclude chunks from the equals and hashcode method 2020-06-24 00:24:49 +02:00
Tim203
3cee923a3f
Fixed 1.16 chunks and renamed states to palette 2020-06-23 23:58:52 +02:00
RednedEpic
b5eb5ca624 Update to 1.16 release 2020-06-23 08:16:54 -05:00
DoctorMacc
79fe6394a8 Update particle types 2020-06-21 20:02:22 -04:00
DoctorMacc
8f686ac25a Add CommandParser.UUID 2020-06-21 19:40:24 -04:00
DoctorMacc
0a21fbadb7 Remove ServerSpawnWeatherEntityPacket 2020-06-21 19:21:44 -04:00
DoctorMacc
83f7b91c9c Update sound mappings 2020-06-21 19:08:17 -04:00
RednedEpic
f040b4ee71 gamemode2 is previousGamemode 2020-06-21 15:22:25 -05:00