Commit graph

463 commits

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