Camotoy
bf0a6be8fe
Fix ServerWorldBorderPacket initialization
...
Seems like these two were flipped around.
2021-01-13 19:58:40 -05:00
VADemon
126b0e67de
Use proper @Nullable annotation from spotbugs
2020-12-23 13:21:12 +01:00
VADemon
1df02557d1
Local address binding: return bind addresses from Session if connected
2020-12-23 12:58:52 +01:00
VADemon
83201135ec
Use proper Client constructor
2020-12-23 11:29:48 +01:00
VADemon
30588f7be0
Add local address binding to Client
2020-12-21 15:58:02 +01:00
Mark Vainomaa
a651cb0b26
Implement HAProxy PROXY protocol support for client
2020-12-19 22:51:43 +02:00
Mark Vainomaa
b94345387b
Resolve remote address eagerly
2020-12-19 05:08:43 +02:00
MatteCarra
95ba884563
Removed client token from MinecraftProtocol
2020-12-16 15:22:36 +01:00
David Choo
3b76ee2d23
Fix magic values of PistonValue
2020-12-09 15:35:46 -05:00
DoctorMacc
f7647a93ff
Actually fix merge
2020-12-04 19:21:27 -05:00
DoctorMacc
5e526ff01a
Merge branch 'master' of https://github.com/Steveice10/MCProtocolLib into feature/1.17
2020-12-04 18:02:46 -05:00
DoctorMacc
0ddc3a8664
Initial 20w49a implementation
2020-12-04 17:56:27 -05:00
Steveice10
26201a49f0
Allow specifying a custom GsonComponentSerializer to use.
2020-11-21 13:56:49 -08:00
Steveice10
ccbd52dffd
Replace Message API with Adventure component parsing.
2020-11-21 13:42:36 -08:00
Steveice10
ead6afae39
Move DnsNameResolver creation into try-catch block.
2020-11-21 12:59:51 -08:00
D3ATHBRINGER13
5993241c70
20w46a
2020-11-17 19:43:27 +00:00
DoctorMacc
1b167e197a
Make all recipes nullable
...
Cookable recipes can have a nullable result too - I'm going to assume that all recipe types can too.
2020-11-11 16:15:44 -05:00
DoctorMacc
befbfbf0ed
Allow recipe data to be null
...
Using datapacks, this can end up being null. Example: https://www.planetminecraft.com/data-pack/true-survival-a-hardcore-minecraft-experience/ (used to set recipes as doing nothing)
2020-11-08 18:18:12 -05:00
DoctorMacc
ea3d99d0f9
Update for 20w45a
...
Notably: biome data is currently set to non-null as there is no full chunk indicator anymore.
2020-11-04 17:36:44 -05:00
DoctorMacc
7321e8f0d7
Update to 1.16.4
2020-11-02 12:31:24 -08:00
DoctorMacc
c363fc3cb5
Update to 1.16.4-pre2
2020-11-02 12:31:24 -08:00
DoctorMacc
37af0d3a39
Add support for 1.16.4
2020-11-02 12:31:24 -08:00
DoctorMacc
971f6eebf9
Accomodate for encoding bug
2020-10-21 20:46:44 -04:00
DoctorMacc
e408dd250d
Add full support for the UNKNOWN gamemode
...
Previously we correctly handled the unknown gamemode for 'previous gamemode'; however, this functionality can extend to the main gamemode. The gamemode writing we've been doing has been replaced with the UNKNOWN enum, so we aren't dealing with a null value.
2020-10-21 17:02:39 -04:00
DaPorkchop_
cdcfff5b10
allow duplicate entries in palette
2020-10-18 21:41:56 +02:00
DaPorkchop_
3685d6b580
palette does not always start with zero...
2020-10-17 17:38:14 +02:00
DaPorkchop_
a05abf0403
use a Netty IntObjectMap instead of a standard Map
2020-10-14 15:03:29 +02:00
DaPorkchop_
8a000ddf2e
remove useless imports in ListPalette
2020-10-14 14:57:56 +02:00
DaPorkchop_
4cefa46df3
don't allocate needless array when resizing palette
2020-10-14 14:56:42 +02:00
DaPorkchop_
1a2197fcc7
make MapPalette's idToState Map into an array
2020-10-14 14:52:38 +02:00
DaPorkchop_
f9e27b29e6
make ListPalette be backed by an array rather than a List
2020-10-14 14:51:53 +02:00
Steveice10
2ac116a075
Revise chunk storage code based on latest logic.
2020-10-13 16:18:56 -07:00
rtm516
23d78d7620
Add COPY_TO_CLIPBOARD ClickAction
2020-10-13 18:39:25 +01:00
DoctorMacc
ec052d7704
Remove unused imports
2020-09-26 17:23:27 -04:00
DoctorMacc
fc905c8d76
Re-implement as a constant
2020-09-26 17:21:57 -04:00
DoctorMacc
85c0811acf
Add an option to disable the automatic keep alive packet options
...
That way the clients/servers can more finely control the keep alive process.
2020-09-26 16:23:24 -04:00
DoctorMacc
ba0c6af56c
Merge latest master
2020-09-10 10:42:38 -04:00
DoctorMacc
fc0cc01e54
Update to 1.16.3
2020-09-10 10:36:36 -04:00
DoctorMacc
3dd0fd4679
Update for 1.16.3-rc1
2020-09-10 10:09:27 -04:00
Steveice10
6c66d7e27b
Replace specifying proxy with specifying custom auth service clients.
2020-08-29 11:16:34 -07:00
DoctorMacc
564b0cc0e4
ClientPlayerAbilitiesPacket: fix flying
2020-08-27 22:26:37 -04:00
Mark Kennedy
7ccc9c32cf
Dimension NBT cleanup
2020-08-12 23:56:17 +01:00
DoctorMacc
c29ca1d389
Fix incorrect value read/write in JoinGamePacket
2020-08-12 21:29:36 +01:00
D3ATHBRINGER13
1934c3e83d
bump to full release
2020-08-11 15:13:01 +01:00
D3ATHBRINGER13
d0f1cac1b4
Merge pull request #4 from GeyserMC/feature/1.16.2
...
Feature/1.16.2
2020-08-11 01:54:51 +01:00
D3ATHBRINGER13
eefbf2802b
Fix conflicts
2020-08-11 01:53:27 +01:00
DoctorMacc
82dcf31d03
Update to 1.16.2-rc2; add new entity statuses
2020-08-10 18:25:46 -04:00
DoctorMacc
2ee53b72d1
Fix join game test
2020-08-09 22:40:46 -04:00
DoctorMacc
7f43021d88
Add ignoreOldLight to ServerMultiBlockChangePacket
2020-08-07 20:36:38 -04:00
Mark Kennedy
1afe708af7
Bump to rc1
2020-08-07 20:34:57 -04:00
Mark Kennedy
22a0d1290b
Update to pre3
2020-08-07 20:34:44 -04:00
Mark Kennedy
c8a06b8fde
Bump to rc1
2020-08-07 20:20:29 +01:00
Mark Kennedy
57a0a50448
Update to pre3
2020-08-07 16:17:45 +01:00
D3ATHBRINGER13
ef68b52248
Merge pull request #3 from GeyserMC/feature/1.16.2
...
Feature/1.16.2
2020-08-07 15:15:05 +01:00
DoctorMacc
da148409ff
Update to 1.16.2-pre2
2020-08-05 16:24:48 -04:00
DoctorMacc
e4546e3ee1
Add CommandParser.ANGLE; fix multi block change
2020-08-05 16:16:07 -04:00
DoctorMacc
7e20744931
Merge latest master
2020-08-05 16:07:23 -04:00
AJ Ferguson
7f952b5cc7
Code style
2020-07-31 11:33:58 -08:00
AJ Ferguson
9bcf62daf3
Add SoundEffect.BLOCK_SMITHING_TABLE_USE
2020-07-30 20:50:36 -08:00
AJ Ferguson
e2f3c5563c
Add ParticleEffect.EVAPORATE
...
Used when a wet sponge is placed in the nether
2020-07-30 20:50:26 -08:00
AJ Ferguson
a3a896e066
Add DragonFireballEffectData
2020-07-30 20:01:30 -08:00
AJ Ferguson
7838085473
Fix SmokeEffectData magic values
2020-07-30 16:50:14 -08:00
D3ATHBRINGER13
b5926d5f95
Merge pull request #2 from GeyserMC/feature/1.16.2
...
Quick Fix
2020-07-30 00:36:08 +01:00
DoctorMacc
ba0c4e9ecd
Update to 1.16.2-pre1; fix swinging arm disconnecting
2020-07-29 19:26:00 -04:00
Mark Kennedy
27c4ae93b9
Bump to 1.16.2-pre1
2020-07-29 23:46:33 +01:00
XjCyan1de
d68a5c58aa
Fix ServerOpenHorseWindowPacket id
2020-07-29 20:27:52 +03:00
rtm516
41774b7260
Fix write of ClientSetDifficultyPacket
2020-07-27 20:07:51 +01:00
DoctorMacc
da45dc9165
20w30a
2020-07-24 10:37:32 -04:00
Mark Kennedy
97917c7b7d
Merge remote-tracking branch 'origin/feature/1.16.2' into feature/1.16.2
2020-07-22 21:02:38 +01:00
Mark Kennedy
f0520fd362
Bump to 20w30a and add a sound I forgot
2020-07-22 21:01:29 +01: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
Mark Kennedy
2d65a9d3df
Add piglin brute sounds and bump version
2020-07-20 15:08:31 +01: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
Steveice10
42e417fc50
Replace session host and port with resolved SRV record, bump version to 1.7.
2020-06-28 13:43:40 -07: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
RednedEpic
ec957221a9
Unknown value in update light packet is trust edges
2020-06-21 15:15:53 -05:00
RednedEpic
597d60bed5
Fix wrong packet ids, clean up chunk padded array and fix tests
2020-06-21 15:09:04 -05:00
RednedEpic
8380afbaa5
Update EntityType ids
2020-06-21 13:19:12 -05:00
DoctorMacc
c5444288a2
Add smithing enum to RecipeType
2020-06-20 22:21:43 -04:00
DoctorMacc
3b20202d35
Update attribute values
2020-06-20 22:15:45 -04:00
DoctorMacc
b9e1888e6c
Update unknown value in ClientPlayerInteractEntityPacket
2020-06-20 21:12:44 -04:00
DoctorMacc
02781ed56c
Fix some whitespacing; fix some tests
2020-06-20 20:32:03 -04:00
RednedEpic
795ae325b8
Resolve merge conflicts
2020-06-20 15:52:20 -05:00
RednedEpic
3f5f9797e6
Update to 1.16-rc1 and update chunk format to use new padded array
2020-06-20 15:31:39 -05:00
DoctorMacc
16cbbf8de5
Remove BlockState class
...
The BlockState class is simply a wrapper for an integer. Dealing with many BlockState classes in our Geyser project uses up a lot of RAM when we can simplify that down to more efficient integers.
2020-06-18 18:44:07 -04:00
Steveice10
f142eab3a2
Overhaul JSON message classes to be immutable and use a builder pattern.
2020-06-06 14:54:40 -07:00
RednedEpic
1205c36965
Add support for 20w22a
2020-06-03 20:33:08 -05:00
Steveice10
9249cb02d7
Icon conversion methods no longer throw IOException.
2020-06-03 15:07:58 -07:00
Steveice10
1840d5aa3d
Remove server list icon decoding as ImageIO/BufferedImage do not exist on Android.
2020-06-03 14:58:49 -07:00
Steveice10
d8bfc98d05
Properly release DNS query resources.
2020-06-03 12:17:19 -07:00
Steveice10
bfd0687b3c
Replace dnsjava with netty DNS support.
2020-06-01 14:07:46 -07:00
Steveice10
706ba62990
Update for MCAuthLib changes.
2020-06-01 13:05:55 -07:00
Steveice10
701fa0d7b0
Add missing attribute and modifier.
2020-06-01 11:37:46 -07:00
bundabrg
8533e28785
When a color can't be translated set to NONE instead of null
2020-06-01 18:35:57 +08:00
Steveice10
75f0f02d89
Move priority packet handling to channelRead0.
2020-05-31 17:32:21 -07:00
Steveice10
8dbe3d081c
Make sure bad packet data is skipped when errors are suppressed.
2020-05-31 17:23:22 -07:00
Steveice10
b025025001
Call PacketErrorEvent for more I/O errors.
2020-05-31 17:15:44 -07:00
Steveice10
72bde6a3c0
Fix stack overflow in flag methods.
2020-05-30 15:38:24 -07:00
Steveice10
be70b05e3c
More improvements to flag methods.
2020-05-30 15:33:56 -07:00
Steveice10
12d26014fa
Update dnsjava to 3.1.0 and add result to debug output.
2020-05-30 15:22:11 -07:00
Steveice10
d82b1b688d
Change DNS error printing to a debug printing flag.
2020-05-30 11:57:33 -07:00
Steveice10
8eaefa9cfc
Add javadocs to BuiltinFlags.
2020-05-30 10:55:04 -07:00
Steveice10
fd7772a9b0
Improve implementation of flag methods.
2020-05-30 10:52:37 -07:00
Steveice10
5291bea6a0
Add flag for printing DNS resolution errors.
2020-05-30 10:49:39 -07:00
ipbeegle
ff20c8f2a5
Change StreamNetInput, StreamNetOutput
...
convert to using Java filter streams
update syntax
2020-05-25 05:21:10 -04:00
ipbeegle
68542b8e58
Update PacketProtocol
...
remove negative packet id checks from createIncomingPacket and getOutgoingClass
update syntax
2020-05-25 05:13:13 -04:00
ipbeegle
f2adf41dd2
Add reset method to StreamNetInput
2020-05-25 02:42:11 -04:00
ipbeegle
3c5b1f4792
Merge branch 'master' of https://github.com/Steveice10/PacketLib.git
2020-05-25 02:16:26 -04:00
ipbeegle
3072587bc7
Update StreamNetInput
...
Add mark, markSupported, skip
2020-05-25 02:03:44 -04:00
ipbeegle
c1f371725a
Update PacketProtocol
...
Add reverse mapping for outgoing packet id<->class
2020-05-25 01:48:32 -04:00
Steveice10
28dac2ec32
Remove -1 workarounds in favor of new user error handling, add exception subclasses for MagicValues errors.
2020-05-23 15:09:08 -07:00
Steveice10
614d56cdc0
Add PacketErrorEvent, allowing packet I/O exceptions to be ignored.
2020-05-23 14:52:18 -07:00
RednedEpic
6004e4af74
Merge branch 'master' of https://github.com/Steveice10/MCProtocolLib into feature/1.16
2020-05-23 15:46:17 -05:00
RednedEpic
00fc4c605a
Add support for 20w21a
2020-05-23 15:41:00 -05:00
Steveice10
8e6bc6386b
Merge ObjectType and EntityType and bring spawn packet naming in line with latest wiki info.
2020-05-23 00:10:53 -07:00
Steveice10
aae3a9d276
Add workaround for -1 MobType.
2020-05-22 23:46:59 -07:00
RednedEpic
81de9b4577
Add additional checks to FlexibleStorage and Chunk
2020-05-21 18:39:52 -05:00
Steveice10
a5bc122b93
Handle protocol version translators that may send -1 for sound IDs.
2020-05-21 15:19:39 -07:00
Steveice10
898b45ec6c
Border Y should be Z.
2020-05-21 14:18:28 -07:00
Steveice10
e61bc83823
Update world border packet field names.
2020-05-21 14:15:47 -07:00
ipbeegle
74ee4fa02b
Small optimization to PacketProtocol.getOutgoingId(Class<? extends Packet>)
2020-05-20 23:37:46 -04:00
ipbeegle
27cdf88b36
Add BufferedPacket
...
Add PacketProtocol.getOutgoingId(Packet) to get id from BufferedPacket
Change TcpPacketCodec.encode to use Packet instance instead of its class
2020-05-20 23:33:27 -04:00
RednedEpic
c62ed6a6d9
Update to 20w20b
2020-05-14 13:07:04 -05:00
Redned
1dba7dc735
20w20a not 20w120a
2020-05-13 21:50:06 -05:00
rtm516
920ccdb1a1
Added shulker box UpdatedTileType to prevent errors on older versions
2020-05-14 01:42:44 +01:00
RednedEpic
20f73c5e1e
Update to 20w20a
2020-05-13 16:06:26 -05:00
RednedEpic
b0b383a53d
Update to 20w19a
2020-05-06 16:47:12 -05:00
Tim203
328f020489
Add new particle types
2020-04-25 10:15:57 +02:00
Steveice10
f1efbed86c
Use GameProfile.setProperties in ServerPlayerListEntryPacket.
2020-04-23 10:45:35 -07:00
Steven Smith
4058738103
Merge pull request #530 from GeyserMC/fix-advancement-value
...
Allow icon in advancement to be null
2020-04-23 10:39:21 -07:00
RednedEpic
d335d5f4bc
Allow icon in advancement to be null
...
Sometimes the server does not send over an icon, and when one is not sent over, the player is kicked through MCProtocolLib because this was null
2020-04-23 12:10:21 -05:00
RednedEpic
5dae5286db
Convert ChatColor to a class from an enum and make it hold string constants
...
This is because Minecraft now supports any color in chat and anywhere JSON messages are used. Thus, the ChatColor enum has been converted to a class and now holds string constants with the previous string colors, which are still supported.
2020-04-22 16:19:58 -05:00
RednedEpic
f39b2a0a23
Add AVAILABLE_BIOMES SuggestionType
2020-04-22 15:54:37 -05:00
RednedEpic
24440246de
Update to 20w17a
2020-04-22 15:53:14 -05:00
Steveice10
43b394dfdc
Check if DNS lookup result is null.
2020-04-21 12:08:50 -07:00
Steveice10
b98e525016
Change SRV lookup code to use dnsjava.
2020-04-21 12:01:26 -07:00
Marco
9cbdafb659
add hand to edit book
2020-04-20 13:43:56 +02:00
RednedEpic
d97ba91af5
Initial 20w16a support
2020-04-17 00:42:07 -05:00
Steveice10
634635ef31
Tweak Forge-specific attribute javadocs.
2020-04-15 15:04:17 -07:00
DoctorMacc
c84f2f1b03
Switch to Javadoc comments
2020-04-15 17:46:15 -04:00
DoctorMacc
f497fda5d9
Add forge support
2020-04-15 12:09:49 -04:00
DoctorMacc
eb1607ef3e
Fix improper values for Allow Flight and Flight
2020-04-11 17:59:06 -04:00
Steven Smith
4659a1a6fe
Merge pull request #516 from GeyserMC/client-notification-update
...
Add enable respawn screen and pufferfish sting sound client notifications
2020-02-26 18:25:20 -08:00
Steveice10
3c6cbb2cff
Update for PacketLib changes.
2020-02-26 18:22:38 -08:00
Steveice10
d725ce0d79
Implement proper NIO proxy support and remove synchronous support from
...
send/disconnect.
2020-02-26 18:15:59 -08:00
RednedEpic
529f9450a8
Use enum for RespawnScreenValue
2020-02-26 18:42:40 -06:00
RednedEpic
52a13e8cf4
Add respawn screen and pufferfish sting sound client notifications
2020-02-26 18:33:33 -06:00
RednedEpic
ba1c1f13f8
Fix flipped start and stop for rain
2020-02-09 14:38:28 -06:00
Steven Smith
dc375f9958
Merge pull request #510 from GeyserMC/1.15.2
...
Add support for Minecraft 1.15.2
2020-01-21 20:28:56 -08:00
RednedEpic
916fbc17ee
Allow secondTrade in VillagerTrade to be null
...
Not in all cases will the second input in the villager trade be present.
2020-01-21 21:45:04 -06:00
RednedEpic
acc5b7fdbd
Add support for Minecraft 1.15.2
2020-01-21 20:44:23 -06:00
RednedEpic
ae4169df6f
Add missing EntityStatus mappings for honey block slide and land
2020-01-06 20:09:36 -06:00
Magnus Ihse Bursie
fbd5460d7c
START_RAIN and STOP_RAIN was mixed up.
2020-01-02 03:13:10 +01:00
Matteo Carrara
409f68b0b4
Remove @NonNull from a nullable parameter
...
Slot data can be null: https://wiki.vg/Slot_Data
2019-12-31 16:24:12 +01:00
Steveice10
e33abe75a5
Update to 1.15.1
2019-12-17 16:47:58 -08:00
RednedEpic
10561e879b
Fix sound IDs and add new 1.15 sounds to BuiltinSound
2019-12-17 16:42:43 -08:00
RednedEpic
40036d6c96
Add BEE MobType and update entity IDs
2019-12-17 16:42:43 -08:00
Paul Heidenreich
2c004d7ecb
Update to 1.15
2019-12-17 16:42:43 -08:00
Paul Heidenreich
8dafdddd24
Unknown field in join game packet is enable respawn screen
...
Co-authored-by: Pokechu22 <pokechu022+gh@gmail.com>
2019-12-17 16:42:43 -08:00
Paul Heidenreich
5bcd618b62
Update to 1.15-pre6
2019-12-17 16:42:43 -08:00
Paul Heidenreich
ed0e19a8f2
Update to 1.15-pre4
2019-12-17 16:42:43 -08:00
Paul Heidenreich
418f541486
Upgrade to 1.15-pre3
2019-12-17 16:42:43 -08:00
Paul Heidenreich
1d7edba99d
Fix Biome Data: The old 256 int array is replaced by a 1024 int array.
2019-12-17 16:42:43 -08:00
Paul Heidenreich
9407aa3ebb
Add missing unknown field in join packet
2019-12-17 16:42:10 -08:00
Paul Heidenreich
0fe401d716
Remove newline
2019-12-17 16:42:10 -08:00
Paul Heidenreich
f27d9eae00
Only write biome data on full chunk packets
2019-12-17 16:42:10 -08:00
Paul Heidenreich
46a0dca278
Update/Fix tests
2019-12-17 16:42:10 -08:00
Paul Heidenreich
783d6cb8b6
Upgrade to 1.15-pre2
2019-12-17 16:42:10 -08:00
Tim203
b0676fedfd
Use no color as default color
2019-12-06 17:47:24 +01:00
Steveice10
32247f3098
Remove dot from end of host in SRV records.
2019-10-20 20:18:58 -07:00
Steveice10
dd33da0a42
Add PAINTING MobType.
2019-10-20 20:07:01 -07:00
Redned
85bee0b863
Allow MapIcon display names to be null
...
Sometimes map display names on Java servers are null, and throws an NPE with MCProtocolLib, causing the client to disconnect.
2019-10-19 15:41:06 -05:00
Redned
286c4a1925
Add nbt_tag mapping in MagicValues
2019-10-19 13:43:40 -05:00
Redned
1869bf866f
Add nbt_tag to CommandParser
2019-10-19 13:42:14 -05:00
Redned
8b247d406f
Add nbt_compound_tag mapping in MagicValues
2019-10-18 23:34:39 -05:00
Redned
2d103e5b58
Fix missing nbt_compound_tag value for CommandParser
2019-10-18 22:54:31 -05:00
Steveice10
c792dc022c
Automatically add missing "minecraft:" to identifiers if no namespace is present.
2019-08-29 21:06:46 -07:00
Steveice10
0d4927368c
Make Advancement parentId optional.
2019-08-29 21:03:11 -07:00
Steveice10
11274270fc
Refactor out remaining utility classes.
2019-08-27 23:51:58 -07:00
Steveice10
de39777d38
Clean up some encryption code.
2019-08-27 22:58:41 -07:00
Steveice10
a5f64d8331
Clean up chunk data I/O.
2019-08-27 22:00:55 -07:00
Steveice10
13b92b8710
Add magic values mapping test.
2019-08-27 21:51:05 -07:00
Steveice10
85ab99e33f
Add minecraft:time command parser.
2019-08-27 21:08:08 -07:00
Steveice10
fbef6f274f
Fix particle data being marked as non-null.
2019-08-24 09:21:09 -07:00
Steveice10
8a38cb86d2
Rename motX/Y/Z to motionX/Y/Z
2019-08-24 09:16:21 -07:00
Matteo Carrara
7f5a57163e
Fixes exception when tooltip is a TranslationMessage
2019-08-24 09:16:21 -07:00
Steveice10
4dd7416966
Use Lombok to reduce boilerplate code, add some basic packet read/write tests.
...
Also implements declare commands and declare recipes packets.
2019-08-17 22:59:58 -07:00
Steven Smith
54daad60ac
Merge pull request #475 from ReplayMod/world-type-buffet
...
Add missing "buffet" WorldType
2019-08-04 08:30:01 -07:00
Steven Smith
e517fe69a5
Merge pull request #477 from ReplayMod/missing-effects
...
Add missing Particle/SoundEffect values
2019-08-04 08:29:42 -07:00
Jonas Herzig
bf6ec025fc
Add missing Particle/SoundEffect values
2019-08-04 16:51:41 +02:00
Jonas Herzig
49bcc5343a
Fix MagicValue.key/value being swapped in ServerOpenBookPacket
2019-08-04 15:11:41 +02:00
Jonas Herzig
f36ac9107a
Add missing "buffet" WorldType
2019-08-04 12:00:57 +02:00
Jonas Herzig
3e98900a7c
Update to 1.14.4
2019-07-19 13:01:14 +02:00
Jonas Herzig
c9f115de02
Fix magic value of GlobalEntityType.LIGHTNING_BOLT
2019-07-08 10:19:28 +02:00
Jonas Herzig
f3be50538e
Add missing 1.14 entity statuses
2019-07-06 12:35:08 +02:00
Jonas Herzig
a5af5c1762
Add missing 1.13 entity status
2019-07-06 12:25:24 +02:00
Jonas Herzig
0dc580ee23
Update to 1.14.3
2019-06-24 17:43:41 +02:00
Paul Heidenreich
10b72ca5a6
Update to 1.14.2
2019-05-28 22:39:25 +02:00
Paul Heidenreich
519c2d1304
Update to 1.14.1
2019-05-28 09:11:06 +02:00
Steveice10
d9feb4ad66
Misc 1.14 update cleanup.
2019-05-27 18:12:36 -07:00
Steveice10
385c8fe342
Check current block state before changing block count.
2019-05-27 17:49:40 -07:00
Paul Heidenreich
3211b28c4f
Correctly calculate block count
2019-05-26 18:50:52 +02:00
Paul Heidenreich
ceddf6728a
Add ObjectTypes to MobTypes
2019-05-19 16:58:00 +02:00
Paul Heidenreich
36e5eafd28
Merge branch 'master' of github.com:Steveice10/MCProtocolLib into 1.14
...
Conflicts:
src/main/java/com/github/steveice10/mc/protocol/data/MagicValues.java
src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/MobType.java
2019-05-03 16:46:02 +02:00
Steveice10
a9d83ee61b
Add missing entity IDs to MobType.
2019-05-03 00:28:49 -07:00
Paul Heidenreich
f2b170bbca
Add New MagicValues for NoteBlockValueType
2019-05-01 13:11:47 +02:00
Paul Heidenreich
c025e954f1
Update Magic Values in BlockValuePacket
2019-05-01 13:06:41 +02:00
Paul Heidenreich
85ffa52f25
Update MagicValues for GenericStatistic
2019-05-01 12:48:07 +02:00
Paul Heidenreich
b0011f18ac
Update Effect Ids
2019-04-30 18:00:38 +02:00
Paul Heidenreich
bd96169b16
Fix Particles for Real
2019-04-30 17:36:47 +02:00
Paul Heidenreich
bbd117d744
Update MagicValues for Particles
2019-04-30 09:31:41 +02:00
Paul Heidenreich
8bd54b3469
Merge branch 'master' into 1.14
2019-04-30 08:59:25 +02:00
Steveice10
6513ff5a91
Merge branch 'master' of github.com:Steveice10/MCProtocolLib
2019-04-29 17:41:19 -07:00
Steveice10
0d0aade9f4
Add PistonValueType 2 mentioned on the protocol wiki.
2019-04-29 17:41:12 -07:00
Paul Heidenreich
1da8f622ff
Fix SpawmObjectPacket
2019-04-29 19:53:33 +02:00
Paul Heidenreich
44deca5ff9
Update Builtin Sounds
2019-04-29 19:41:56 +02:00
Paul Heidenreich
abe45f8e7c
Update Mob and Object Types
2019-04-29 19:41:38 +02:00
Paul Heidenreich
920be76bd1
Add missing UpdatedTileType MagicValues
2019-04-29 19:00:46 +02:00
Jonas Herzig
2e39b44030
Read/write redundant byte array length in ServerUpdateLightPacket
2019-04-29 16:23:02 +02:00
Jonas Herzig
228535b23c
Implement ServerUpdateLightPacket
2019-04-29 14:47:14 +02:00
Paul Heidenreich
71dfa412ac
Replace LightUpdatePacket Implementation With Dummy
2019-04-28 14:25:27 +02:00
Paul Heidenreich
10710b62a2
Add UpdateLightPacket
2019-04-28 13:48:03 +02:00
Paul Heidenreich
01128ae796
Fix Tests
2019-04-28 13:34:04 +02:00
Paul Heidenreich
e6af7ef138
Update Entity Metadata
2019-04-28 13:26:39 +02:00
Paul Heidenreich
78f4d347e9
Update MinecraftConstants
2019-04-28 12:57:22 +02:00
Paul Heidenreich
932b09b27d
Update PlayerPlaceBlockPacket
2019-04-28 12:56:46 +02:00
Paul Heidenreich
f1365868c1
Dlete UseBedPacket
2019-04-28 12:54:20 +02:00
Paul Heidenreich
31e5df1c5f
Add UpdateJigsawBlock
2019-04-28 12:54:05 +02:00
Paul Heidenreich
0e28d84a26
Update CraftingBookDataPacket
2019-04-28 12:46:08 +02:00
Paul Heidenreich
29b54275f2
Add LockDifficultyPacket
2019-04-28 12:45:40 +02:00
Paul Heidenreich
12c370d522
Update And Rename ClickWindowButtonPacket
2019-04-28 12:35:09 +02:00
Paul Heidenreich
84625ecf27
Add SetDifficultyPacket
2019-04-28 12:26:30 +02:00
Paul Heidenreich
1d3c3f20f5
Remove Unused Import in ServerJoinGamePacket
2019-04-28 12:23:09 +02:00
Paul Heidenreich
264db5c4a2
Update DeclareTagsPacket
2019-04-28 12:21:14 +02:00
Paul Heidenreich
f1856bcd5c
Add EntitySoundEffectPacket
2019-04-28 12:17:36 +02:00
Paul Heidenreich
c1a9d298ad
Add UpdateViewDistancePacket
2019-04-28 12:09:10 +02:00
Paul Heidenreich
48a1e1fbda
Add UpdateViewPositionPacket
2019-04-28 12:06:59 +02:00
Paul Heidenreich
2f88909d48
Update RespawnPacket
2019-04-28 12:01:46 +02:00
Paul Heidenreich
36fcac3055
Add Missing Getters To OpenHorseWindowPacket
2019-04-28 11:58:38 +02:00
Paul Heidenreich
49627dbc45
Add TradeListPacket
2019-04-28 11:57:45 +02:00
Paul Heidenreich
2f4a43f729
Update OpenWindowPacket
2019-04-28 11:26:01 +02:00
Paul
e8764e8774
Add ServerOpenBookPacket
2019-04-28 09:33:30 +02:00
Paul
2c385655e9
Update ServerMapDataPacket
2019-04-28 09:21:46 +02:00
Paul
2e17ea14c8
Update ServerJoinGamePacket
2019-04-28 09:19:18 +02:00
Paul
1aa4714ec0
Corrent Register For OpenHorseInventoryPacket
2019-04-28 09:15:04 +02:00
Paulomart
1f56c5ee85
Update ChunkDataPacket
2019-04-26 19:24:18 +02:00
Paulomart
e58309c445
Add OpenHorseWindow Packet
2019-04-26 19:09:18 +02:00
Paulomart
6784967237
Update ServerSpawnObjectPacket: EntityType is now VarInt
2019-04-26 19:03:23 +02:00
Paulomart
086667cfe8
Add new Types for UpdatedTiles
2019-04-26 19:02:06 +02:00
Paulomart
2cdeff6b70
Update ServerDifficultyPacket
2019-04-26 19:00:12 +02:00
Paulomart
49c4d7f0f3
Update Position Read/Write Code
2019-04-26 18:59:29 +02:00
Paulomart
3e793db8e9
Update Packet Ids
2019-04-26 18:59:02 +02:00
Matteo Carrara
25f8bcce7b
Added missing break in ServerPlayerListEntryPacket
2019-03-23 17:44:48 +01:00
Jonas Herzig
66132036aa
Re-add ARMOR_STAND to MobType
2019-03-15 16:53:14 +01:00