Commit graph

753 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Matteo Carrara
9efc4cf2aa
Fixes ServerTabCompletePacket
You are not reading transactionId, start and length. See protocol at "Tab-Complete (clientbound)": https://wiki.vg/Protocol#Teleport_Confirm
2019-02-17 00:44:43 +01:00
Steveice10
050ddd3911 Add support for JSON array messages. 2018-12-11 23:46:51 -08:00
Paul
8b759faf44
Update to Minecraft 1.13.2 2018-10-24 17:29:23 +02:00
Steveice10
10ec617e5a Fix typo in vindicator entity sound names. 2018-10-06 16:23:32 -07:00
Steveice10
a341fb0cfe Update HangingDirection for 1.13 2018-09-09 16:58:26 -07:00
Steveice10
051561ee2c Add GenericObjectData, allow object data with value of 0. 2018-09-09 16:22:49 -07:00
Steveice10
3e43b954c1 Add missing SpreadItemParam values, add checks and corrections to ClientWindowActionPacket. 2018-09-06 18:45:11 -07:00
Steveice10
04372d0571 Determine Cipher algorithm based on key type. 2018-09-06 11:06:13 -07:00
Steveice10
345df21061 Use Cipher mode constants. 2018-09-06 10:26:15 -07:00
Steveice10
2a8483a155 Change key generation back to just "AES", be explicit when getting Cipher instance. 2018-09-06 09:34:41 -07:00
Steveice10
2aa66f73e1 Explicitly specify all encryption algorithm components. 2018-09-06 01:27:40 -07:00
Steveice10
4017ec0aea Distinguish different generic block value types. 2018-09-01 11:25:42 -07:00
Steveice10
d9700732cc Add GENERIC fallback for block value types with an ID of 0. 2018-09-01 11:24:52 -07:00
Steveice10
54b4e47225 Update ServerBlockValuePacket for 1.13.1. 2018-09-01 11:09:38 -07:00
Steveice10
d719db0086 Update sounds for 1.13.1. 2018-08-31 23:23:07 -07:00
Steveice10
a2851985e4 Fix writing ServerSpawnParticlePacket. 2018-08-31 22:08:03 -07:00
Steveice10
eee8573395 Update to 1.13.1, fix entity IDs. 2018-08-29 20:00:33 -07:00
Jonas Herzig
eec72bffd9 Add LoginPluginRequest/ResponsePacket 2018-07-19 14:43:25 +02:00
Jonas Herzig
dcd1736a5c Update server-side packet id mappings 2018-07-19 14:32:56 +02:00
Jonas Herzig
488bc9fd4e Add ClientUpdateStructureBlockPacket 2018-07-19 14:29:23 +02:00
Jonas Herzig
f00f25ad69 Add ClientUpdateCommandBlockMinecartPacket 2018-07-19 14:12:08 +02:00
Jonas Herzig
8e58a9155d Add ClientUpdateCommandBlockPacket 2018-07-19 14:08:18 +02:00
Jonas Herzig
a111addeb4 Add ClientSetBeaconEffectPacket 2018-07-19 13:59:57 +02:00
Jonas Herzig
16fa0aab9d Add ClientSelectTradePacket 2018-07-19 13:58:10 +02:00
Jonas Herzig
704ce885cc Add ClientRenameItemPacket 2018-07-19 13:47:28 +02:00
Jonas Herzig
c3a1b2b6f9 Update ClientCraftingBookDataPacket 2018-07-19 13:45:41 +02:00
Jonas Herzig
5ced5be32c Update ClientPrepareCraftingGridPacket 2018-07-19 13:41:56 +02:00
Jonas Herzig
d5de1262e9 Add ClientMoveItemToHotbarPacket 2018-07-19 13:39:13 +02:00
Jonas Herzig
074bd8d84f Add ClientEntityNBTRequestPacket 2018-07-19 13:36:06 +02:00
Jonas Herzig
cace45970a Add ClientEditBookPacket 2018-07-19 13:34:45 +02:00
Jonas Herzig
bfc511cb49 Update ClientTabCompletePacket 2018-07-19 13:31:45 +02:00
Jonas Herzig
76699d9fcd Add ClientBlockNBTRequestPacket 2018-07-19 13:31:19 +02:00
Jonas Herzig
e632e480cd Add ServerDeclareTagsPacket 2018-07-19 13:21:17 +02:00
Jonas Herzig
e9686ac487 Create stub implementation for ServerDeclareRecipesPacket 2018-07-19 13:12:53 +02:00
Jonas Herzig
258efd8be2 Add ServerStopSoundPacket 2018-07-19 13:11:58 +02:00
Jonas Herzig
0264c12567 Update ServerTeamPacket 2018-07-19 13:03:06 +02:00
Jonas Herzig
d1f061bb86 Update ServerScoreboardObjectivePacket 2018-07-19 12:56:32 +02:00
Jonas Herzig
90127e16ed Update ServerUnlockRecipesPacket 2018-07-19 12:56:32 +02:00
Jonas Herzig
d7a39e67df Add ServerPlayerFacingPacket 2018-07-19 12:56:32 +02:00
Jonas Herzig
304c8b73be Update ServerPreparedCraftingGridPacket 2018-07-19 12:56:32 +02:00
Jonas Herzig
3eabf389fa Update ServerMapDataPacket 2018-07-19 12:56:32 +02:00
Jonas Herzig
1520ef7deb Update chunk reading/writing 2018-07-19 12:56:32 +02:00
Jonas Herzig
75d4540f8f Add ServerNBTResponsePacket 2018-07-19 12:56:32 +02:00
Jonas Herzig
3340e5f5e3 Create stub implementation for ServerDeclareCommandsPacket 2018-07-19 12:56:32 +02:00
Jonas Herzig
267b9baca3 Update ServerTabCompletePacket 2018-07-19 12:56:32 +02:00
Jonas Herzig
44c280417b Remove data from BlockState, it has been merged into the id 2018-07-19 12:56:32 +02:00
Jonas Herzig
f299e463cd Update UpdatedTileTypes 2018-07-19 10:47:34 +02:00
Jonas Herzig
9f169b6365 Update ServerStatisticsPacket 2018-07-19 10:45:10 +02:00
Jonas Herzig
8a29f2ff5e Update ServerSpawnPaintingPacket 2018-07-19 10:04:41 +02:00
Jonas Herzig
a9574252e6 Remove ItemStack data, it has been merged into item ids 2018-07-18 23:19:09 +02:00
Jonas Herzig
e34c31e7a9 Add new PARTICLE MetadataType 2018-07-18 23:12:15 +02:00
Jonas Herzig
798265e509 Update particle data 2018-07-18 23:11:54 +02:00
Jonas Herzig
26f3711c7f Add new OPTIONAL_CHAT MetadataType 2018-07-18 23:04:06 +02:00
Jonas Herzig
669aa7b93f Update packet ids and mark newly added, missing packets 2018-07-18 22:23:31 +02:00
Jonas Herzig
c374deb992 Begin updating to 1.13 2018-07-18 22:22:51 +02:00
Steveice10
08f1ca0290 Require client token when authenticating with an access token. 2018-06-10 17:25:08 -07:00
Steveice10
1728e10f37 Default to no team color when receiving unknown values. Closes #376 2018-01-11 15:21:32 -08:00
Steven Smith
63e06fabad
Remove hard bitsPerEntry limit, enforce minimum of 4. 2018-01-04 22:28:14 -08:00
Steveice10
6de0593ca1 Add CustomStatistic as fallback for custom or unimplemented statistic IDs. 2017-11-26 18:05:45 -08:00
Jonas Herzig
f9c86c5aa5 Update to MC 1.12.2 2017-09-19 09:13:00 +02:00
Steveice10
dae57d1090 Clean up and format code. 2017-09-01 12:01:46 -07:00
Steven Smith
688e043825 Merge pull request #259 from ReplayMod/skylight-detection
Fix skylight detection in some chunk packets (threw OOMError)
2017-08-24 16:47:15 -07:00
Jonas Herzig
96fb4a7cb0 Fix out of bounds smoke effect data 2017-08-24 11:45:03 +02:00
Jonas Herzig
843fc20545 Fix skylight detection in some chunk packets (threw OOMError) 2017-08-24 11:42:12 +02:00
Jonas Herzig
1ca2a9c8ac Remove achievements (superseded by advancements) 2017-08-20 00:26:39 +02:00
Jonas Herzig
eadc9a7eb3 Add missing statistic types and fix statistics packet reading and writing 2017-08-20 00:26:39 +02:00
Jonas Herzig
9130960d64 Add missing generic statistics 2017-08-19 23:02:42 +02:00
Jonas Herzig
9d1dc4ed40 Change misleading statistic names 2017-08-19 23:02:42 +02:00
Jonas Herzig
e7ee69fb3e Update to MC 1.12.1 2017-08-04 08:55:20 -07:00
Steveice10
a4a40f3407 Update PlayerState values. 2017-06-16 21:22:21 -07:00
ECC314
897b7fa29f Added 1.10/1.11 particles. 2017-06-16 09:02:55 +02:00
Jonas Herzig
8747e7abff Add missing builtin sounds 2017-06-10 13:35:19 +02:00
Jonas Herzig
12129ba6fd Add ILLUSION_ILLAGER and PARROT entity types 2017-06-10 13:06:09 +02:00
Jonas Herzig
84f80dfb91 Add generic.flyingSpeed attribute 2017-06-10 13:03:35 +02:00
Jonas Herzig
355ba800e0 Add missing entity status LIVING_BURN (36) and LIVING_DROWN (37) 2017-06-10 11:57:01 +02:00
Jonas Herzig
02d21823db Fix packet ids for client player movement packets 2017-06-10 11:56:22 +02:00
Jonas Herzig
46e3c4e51d Rename ServerAdvancementProgressPacket to ServerAdvancementTabPacket 2017-06-10 11:14:50 +02:00
Jonas Herzig
4301d73953 Fix fallthrough when writing NBT_TAG metadata 2017-06-10 10:20:15 +02:00
Jonas Herzig
9be58c55d8 Fix reading of recipes in ServerUnlockRecipesPacket 2017-06-10 10:04:57 +02:00
Jonas Herzig
f1afab396e Update to MC 1.12 2017-06-09 13:22:03 +02:00
Steveice10
f0424a2979 Add missing sound. 2017-05-29 17:48:15 -07:00
Steveice10
cdb3489fe9 Fix translating between map icon types and network values. 2017-05-26 16:01:09 -07:00
Steveice10
c12339d5a3 Map BREAK_SPLASH_POTION to value 2007. Fixes #230. 2017-05-16 15:35:48 -07:00
Steveice10
3b3bc4f73f Only overwrite existing values when registering proper sound names. 2017-04-27 18:03:07 -07:00
Steveice10
71414243f8 Update sound list. 2017-03-01 20:00:35 -08:00
Steveice10
661faf9541 Migrate away from spacehq.org 2017-03-01 16:33:38 -08:00
Steveice10
ce0b5ca9ec Add SHULKER_BOX to UpdatedTileType. 2017-01-21 16:54:16 -08:00
Steveice10
2cf8596668 Update EntityStatus values. 2017-01-20 15:48:51 -08:00
Steveice10
49275165b5 Add missing sound effects. 2017-01-19 20:09:51 -08:00
games647
b6d72152da
Update protocol ids for 1.11.2 2016-12-23 16:57:01 +01:00
Steveice10
5954134812 Update for OpenNBT changes. 2016-12-15 18:15:18 -08:00
Steveice10
f7458966c8 Add ARMOR_STAND to MobType. 2016-12-15 16:22:34 -08:00
Steveice10
5c4cebdcac Minor cleanup. 2016-12-15 16:13:24 -08:00
johni0702
839925054b Update to MC 1.11 2016-12-03 20:31:07 +01:00
Steven Smith
55859fa1ae Account for empty NameTagVisibility and CollisionRule strings. Fixes #190. 2016-09-05 19:28:41 -07:00
Steven Smith
630f7c27a4 Revise and update Achievement enum. Fixes #194. 2016-09-05 19:23:57 -07:00
Jadon Fowler
27baf233c9
Check for negative GameModes in ServerPlayerListEntryPacket
These are sometimes negative for some reason. I was only able to
reproduce this on one server, but this fixed it. The server was
sending out a GameMode of -1.
2016-08-23 20:18:41 -07:00
Steven Smith
8b1b94cb7c Compare magic string values with equalsIgnoreCase. 2016-06-28 13:34:26 -07:00
Final Child
f1f1d992a4 Bump MC version to 1.10.2. Nothing changed. 2016-06-26 13:03:07 +09:00
Steven Smith
6a71567147 Merge pull request #182 from finalchild/master
Add BlockFace.SPECIAL. Fix #181
2016-06-20 18:11:55 -07:00
Steven Smith
a7b882a7d7 Fix #183. 2016-06-20 18:08:37 -07:00
Final Child
c46750a396 Add BlockFace.SPECIAL 2016-06-19 21:48:30 +09:00
Final Child
456fb5c084 Make ServerListener use default ServerInfoBuilder and compression threshold if the flag is not set 2016-06-12 16:36:31 +09:00
Final Child
1d87b5499e Fix sounds. Have a TODO 2016-06-09 18:19:12 +09:00
Final Child
8bd59d7138 Update to MC 1.10 2016-06-09 17:47:46 +09:00
Final Child
0e05503348 Update to MC 1.10-pre1 2016-06-06 21:56:48 +09:00
Final Child
99824e1e4c Fix #159 (Effect) 2016-05-25 16:39:02 +09:00
Final Child
03f1d7d92d Fix last commit's code style 2016-05-25 16:28:10 +09:00
Final Child
61dbf354ff Fix #163 (ServerBlockValuePacket) 2016-05-25 16:25:56 +09:00
Final Child
c36ab6b76e Fix ServerChunkDataPacket 2016-05-21 16:18:35 +09:00
Final Child
8ac2ac9a0f I think this is enough. 2016-05-15 17:30:23 +09:00
Final Child
a1571ed0cb Change decs of packet IDs to hexs 2016-05-15 16:30:51 +09:00
Final Child
bc5d6f49e4 Yep 2016-05-15 15:56:17 +09:00
Final Child
56002e2167 Removed Update Sign (clientbound) (0x46); Update Block Entity with action
9 should be used instead
2016-05-15 15:55:28 +09:00
Final Child
0817147b1a Add TODO to Column 2016-05-15 15:44:54 +09:00
Final Child
01d7ed04b3 Protocol version 110 2016-05-15 15:40:11 +09:00
yawkat
02488a3812 Fix START/STOP_RAIN mappings 2016-04-12 16:54:00 +02:00
yawkat
ebee856602 Reflective toString implementation for all packets [Adds #152] 2016-04-08 17:23:16 +02:00
Final Child
f8ea987395 Change the type of ServerJoinGamePacket's gamemode to int 2016-04-03 20:45:53 +09:00
Final Child
820da1d459 Remove SoundCategory's useless semicolon 2016-04-03 20:27:37 +09:00
Final Child
cf2282a0be Enhance attribute names 2016-04-03 20:25:25 +09:00
Final Child
c133281224 Update to MC 1.9.2 2016-04-03 20:09:47 +09:00
Steven Smith
16a120036c Make MagicValues key type more lenient. 2016-03-12 10:48:32 -08:00
Steven Smith
7dd6887fed Fix ServerEntitySetPassengersPacket. 2016-03-12 10:42:10 -08:00
MatteCarra
e447052eca Chunk light fix 2016-03-11 16:59:37 -08:00
Steven Smith
da5591b4fe Add OVERPOWERED achievement. 2016-03-11 16:59:34 -08:00
Steven Smith
4ed72deb75 Update and clean up data values. 2016-03-04 18:32:10 -08:00
Steven Smith
97c0a69294 1.9 2016-03-03 18:32:08 -08:00
Steven Smith
0adb269ae1 Fix block tests. 2015-10-03 13:22:31 -07:00
Steven Smith
480f339742 15w39c, major restructuring. 2015-09-24 20:51:43 -07:00
Steven Smith
544e47c9e7 Don't release buffer after single use. 2015-09-24 16:45:05 -07:00
Steven Smith
0d1036693c Minor fix. 2015-09-24 16:31:07 -07:00
Vladislavs Golubs
0f45de347b Tweaks for reading and writing block position
Also improved tests code
2015-09-24 16:30:47 -07:00
Vladislavs Golubs
074d2b1849 Fixed BlockChangePacket after last changes 2015-09-24 16:12:40 -07:00
Steven Smith
471d98ee4b Parse block change value into id and data, minor cleanup. 2015-09-21 20:38:44 -07:00
Steven Smith
b958e52ba5 Remove old chunk data packet constructor for unloading chunks. 2015-08-25 18:48:44 -07:00
Steven Smith
a91a407d90 15w35b 2015-08-24 20:17:03 -07:00
Steven Smith
03379f767d Update usages of MagicValues.key to account for throwing IllegalArgumentException instead of returning null. 2015-08-23 12:48:33 -07:00
Steven Smith
1b913851ee Add ATTACK_SPEED_MODIFIER. 2015-08-23 12:42:12 -07:00