Commit graph

243 commits

Author SHA1 Message Date
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
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
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