Commit Graph

754 Commits

Author SHA1 Message Date
mmxw11
343e316e4c Make InvContainerItemProvider 2017-09-24 21:35:38 +03:00
mmxw11
ce219e208c Check the right type 2017-09-24 21:17:07 +03:00
mmxw11
786788aa23 Oops forgot to remove the note 2017-09-22 17:18:21 +03:00
mmxw11
49b20e37cb Properly format book data 2017-09-22 17:16:04 +03:00
Myles
3f5362a857 1.12.2 Support 2017-09-18 10:28:05 +01:00
Myles
c7c61df0b8 Minecraft 1.12.2 Pre-release 1 Support 2017-09-13 15:45:45 +01:00
Myles
298835be42 Move config to assets/viaversion & refactor Config
Config loading is done by the implementing class.
Platforms can now specify the URL of the default config.
2017-09-11 13:10:54 +01:00
Myles
f70059b4b6 Ensure it's a string 2017-08-03 17:36:48 +01:00
Myles
757d22da23 Switch back to snapshot 2017-08-03 16:02:50 +01:00
Myles
4bc4aa26a4 Fix grammar in command errors. 2017-08-03 16:01:00 +01:00
Matsv
cbc0a12dd6 1.12.1 update 2017-08-03 14:59:03 +02:00
Matsv
100a147a4a Add packet names 2017-08-03 14:45:11 +02:00
Matsv
c405424500 Compatibility for 1.12.1-pre1 2017-08-02 13:44:14 +02:00
Matsv
23091d60ff Change maven version 2017-08-01 17:30:26 +02:00
Matsv
f0968408b6 Cancel the new packet for now 2017-08-01 16:42:15 +02:00
Matsv
2bf2be071d Handle incoming packet id changes 2017-08-01 16:18:38 +02:00
Matsv
c502e2cf7e Handle outgoing packet id changes 2017-08-01 16:04:47 +02:00
Matsv
2d8446b4e3 Start 1.12.1 development 2017-08-01 15:34:22 +02:00
Myles
a64c21da8b Fix invalid json nbt chat messages, #712 2017-07-31 15:24:25 +01:00
Myles
4d58c717cd Fix auto-team not sending in the right order, #699 2017-06-29 20:04:40 +01:00
Myles
634f92b5cd Fix inventory crashes in recent commit #701 2017-06-26 13:51:18 +01:00
Myles
24c4af486c Fix breaking change in last commit 2017-06-24 21:17:10 +01:00
Myles
280fe1aed0 Fix Evocation Illager animation on 1.12 2017-06-24 16:27:14 +01:00
Myles
7cfa78557e 1.12 beds will now be red, #689 2017-06-24 16:26:42 +01:00
Myles
f599583856 Fix 1.11 entity id rewriting not applying to dropped items 2017-06-24 15:40:09 +01:00
Myles
10688a7067 Don't produce errors while ViaVersion is not active during boot, #686 2017-06-12 18:22:09 +01:00
Myles
188419feb0 1.1.1 SNAPSHOT 2017-06-09 19:10:56 +01:00
Myles
fd44e2e9bd 1.1.1 release 2017-06-09 17:04:05 +01:00
Matsv
e19d7e88bd Implement 1.12 Meta Type & Remove Pre6 support since Spigot released 1.12 2017-06-08 16:59:33 +02:00
Matsv
2446577188 Read all the remaining bytes fixes #681 2017-06-08 12:11:44 +02:00
Myles
fef435b9fb As per popular request, 1.12 clients for 1.12-pre6 servers. 2017-06-07 16:50:22 +01:00
Myles
1cb3b985a7 Fix hologram patch not working on 1.12 2017-06-07 15:13:04 +01:00
Myles
ef04346019 Move back to snapshot for 1.1.1 ViaVersion 2017-06-07 13:07:05 +01:00
Myles
381ff1e5d3 1.12 update 2017-06-07 12:58:51 +01:00
Matsv
079f8df6e0 Merge branches 'dev' and 'master' of https://github.com/MylesIsCool/ViaVersion into dev 2017-06-01 21:47:37 +02:00
Matsv
914888dade Refactor Snapshot to 1.12 as preparation for tomorrows release 2017-06-01 18:49:07 +02:00
RaynLegends
8e20df57a9 Improved the shield handling (1.9->1.8) 2017-06-01 18:23:16 +02:00
Matsv
7d5191fa2f Implement 1.12 MetaTypes 2017-06-01 16:00:35 +02:00
Matsv
08528a1745 Addd get/setBlock to the interface of ChunkSection 2017-06-01 15:44:41 +02:00
Matsv
a8e3d9ec95 Update to 1.12-pre7 2017-05-31 14:05:18 +02:00
Matsv
e5dd9b61a4 Remove wrong EntityType 2017-05-31 00:26:28 +02:00
Matsv
6ee2d0574f Bump version from 1.0.5 -to 1.1.0 since this won't be just a bugfix update. 2017-05-29 20:23:54 +02:00
Myles
91b5a8036c 1.12-pre6 2017-05-29 13:59:02 +01:00
Myles
24ab0d8590 Merge branch 'master' into dev 2017-05-27 20:41:19 +01:00
Myles
d8f55006ff Ensure connection isn’t null (reloads etc), fixes #674 2017-05-27 20:41:00 +01:00
Matsv
0817d28b88 Merge branches 'dev' and 'master' of https://github.com/MylesIsCool/ViaVersion into dev 2017-05-27 16:39:43 +02:00
Matsv
577c8b4eaf Add a getBlock method in ChunkSection1_9_3_4.java 2017-05-27 16:39:07 +02:00
Myles
7d001c61a8 Fix packet id typo causing random dc’s #669 2017-05-22 13:17:24 +01:00
Myles
a09e8b9f4d Fix comment with 1.12-pre5 2017-05-19 22:35:24 +01:00
Myles
395d020411 Update to 1.12-pre5 2017-05-19 22:32:21 +01:00
Myles
ece4455130 Fix chunk sending #667 2017-05-18 22:58:27 +01:00
Matsv
cc64ffff98 Update to 1.12-pre4 2017-05-18 15:03:27 +02:00
Matsv
dd332420e5 Fix invisible beds for 1.12-pre3 2017-05-17 21:52:36 +02:00
Myles
ce8ba6a5af Merge branch 'master' into dev 2017-05-17 19:44:00 +01:00
Myles
21eb824395 Better support for nbt arrays rereading in chunks 2017-05-17 19:43:48 +01:00
Myles
246e5ca742 Merge branch 'master' into dev 2017-05-17 18:16:07 +01:00
Myles
2bd03ad92c Fix chunks on 1.11 encoder 2017-05-17 18:15:52 +01:00
Myles
7971dc797b Handle packet 2017-05-17 18:14:47 +01:00
Myles
36c047bfa0 Merge branch 'dev' of https://github.com/MylesIsCool/ViaVersion into dev 2017-05-17 17:09:27 +01:00
Myles
d7daab7e64 1.12-pre3 2017-05-17 16:26:12 +01:00
Matsv
b925e91bbb Merge branch 'upmaster' into dev 2017-05-14 17:13:04 +02:00
Matsv
3b1341f2b3 Cleanup code 2017-05-14 16:15:21 +02:00
Matsv
667ad0d059 Rewrite Spawner entity ID, fix #643 2017-05-14 16:02:04 +02:00
Matsv
c92fcc9f9a Add NullCheck for #657 fixes #663 2017-05-14 14:50:00 +02:00
Matsv
8d66ce776c Add NullCheck for #657 fixes #663 2017-05-14 14:47:00 +02:00
Matsv
412202e105 Merge branch 'dev' of https://github.com/MylesIsCool/ViaVersion into dev 2017-05-14 14:39:02 +02:00
Matsv
35c9e4e268 Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into dev 2017-05-14 14:38:45 +02:00
Matsv
81ea78e003 Update dependencies fix #662 2017-05-14 14:34:51 +02:00
Myles
833698fe8a Update to 1.12-pre2 2017-05-11 18:05:20 +01:00
Myles
70964e9ba9 Merge branch 'master' into dev 2017-05-11 18:02:50 +01:00
Matsv
11d26c13b8 1.12-pre1 2017-05-10 18:03:15 +02:00
Matsv
00b4396f86 Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into dev 2017-05-10 18:00:18 +02:00
KernelFreeze
1d5d0012e6 Item count on 1.11. 2017-05-09 23:32:32 -05:00
KernelFreeze
18c706ab8a Fixing item count on 1.11, where size <= 0. Fixes #553 2017-05-09 23:19:23 -05:00
Myles
6a65a35dee 17w18b 2017-05-04 18:51:38 +01:00
Myles
37aab2c759 ViaVersion for 17w18a 2017-05-03 15:00:37 +01:00
Myles
18ad5da081 17w17b 2017-04-27 15:02:17 +01:00
Myles
9f65e727c9 17w17a 2017-04-26 15:34:24 +01:00
Myles
a7df7715b1 Update to 17w16b 2017-04-21 21:26:30 +01:00
Myles
a9831c842c 1.8.8 -> 1.9.4, fix hand item being sent in different tick 2017-04-20 22:03:09 +01:00
Myles
a6491cf792 17w16a support 2017-04-20 16:31:11 +01:00
Myles
0bab4f62de Update to 17w15a, (some sound stuff may of changed) 2017-04-12 11:55:32 +01:00
Myles
981b5cf3bf Add sound shifting for snapshot 2017-04-05 20:24:19 +01:00
Matsv
9fd1687348 Use PacketWrapper for BossBar's instead of raw 2017-04-05 21:08:27 +02:00
Myles
efad8f41a1 13w14a 2017-04-05 18:09:36 +01:00
Myles
ee81935a74 Update to 17w13b
Note: I had an issue with some packet not working, if you have steps to replicate please make an issue.
2017-04-01 21:55:51 +01:00
Myles
e3c4253c13 Merge branch 'master' into dev 2017-04-01 00:07:32 +01:00
Myles
3fdbf5b062 Revert previous Server protocol check, add a call to ProtocolRegistry to force class load. 2017-02-17 14:15:27 +00:00
Myles
8da0c4310c Update to 17w06a 2017-02-08 14:10:18 +00:00
Myles
71ff8a773b Back to dev 2017-02-03 16:32:56 +00:00
Myles
e3c1b9bf64 1.0.4 Release 2017-02-03 16:27:18 +00:00
Myles
a52552dcb4 Save boss bars to BungeeCord which are made by Withers / Enderdragons 2017-02-03 16:24:14 +00:00
Myles
e8039e158f Fix horse spawn eggs 2017-02-01 15:58:53 +00:00
Myles
c37ef71f72 Fix spawn eggs for 1.11+ #598 2017-01-30 18:02:12 +00:00
Myles
0388f340cc Don’t support older versions if protocol support is installed, fixes #615 2017-01-30 17:15:47 +00:00
Myles
5e437d26d9 Fix typo 2017-01-12 22:10:05 +00:00
Myles
c10c3547b9 Move dumps to gists #608 2017-01-03 15:53:20 +00:00
Myles
528a8e5587 Update OpenNBT 2016-12-24 17:27:59 +00:00
Myles
ea4487e33f Back to dev 2016-12-20 21:46:19 +00:00
Myles
c2578bd212 Bump to 1.0.3 2016-12-20 21:06:23 +00:00
Myles
a1347dd669 Move 1.11.1 support to new class, fixes any other support issues (or just upgrade bungee etc) 2016-12-20 20:54:28 +00:00
Myles
2b89dbce0e Back to snapshot 2016-12-20 16:14:13 +00:00
Myles
f256309487 Bump version to 1.0.2 2016-12-20 16:07:37 +00:00
Myles
462abb1ef9 Update to snapshot 1.11.1 2016-12-15 15:39:38 +00:00
Myles
a35408d14f New config option for disabling piston animation for 1.11 clients #570 2016-12-15 15:32:54 +00:00
Myles
81d4deaea7 Fix block metadata #580 2016-11-28 23:47:49 +00:00
Myles
9103f89aff 1.0.2-SNAPSHOT 2016-11-16 19:58:59 +00:00
Myles
8e4c2648a3 1.0.1 Release 2016-11-16 19:57:20 +00:00
Myles
ad020ec329 Fix wrong packet format for 1.8 brewing #562 2016-11-16 18:14:47 +00:00
Matsv
df3be302af Send the chunkbulk packets immediately. Fixes #535 2016-11-16 17:15:36 +01:00
Gianluca Falcomer
8e3b8cb572 Update ViaCommandHandler.java (#558) 2016-11-16 16:15:24 +01:00
Myles
ff1554556e Fixed 1.7 UUID, oops. Thanks @MineTheCube 2016-11-15 21:17:39 +00:00
Myles
b15c93c416 Use length for UUID compat as contains is expensive 2016-11-15 19:53:22 +00:00
Myles
071b42c9e0 Fix 1.7.2 support when used with ProtocolSupport 2016-11-15 19:11:40 +00:00
Myles
21811991f1 Correct elytra dropping, fixes #545 2016-11-14 23:35:47 +00:00
Myles
a2809f8d5c Add count to /viaver list, #540 2016-11-14 22:38:39 +00:00
Myles
95f2b597da This is billy, he got lost on his way to the last commit, apologies. 2016-11-14 22:20:08 +00:00
Myles
fa348fbc23 Fix villager trading on 1.11 #534 2016-11-14 22:17:23 +00:00
Matsv
9b7f68a888 Store the mainHand and change it on serverChange for Bungee, fixes #536 2016-11-14 20:59:06 +01:00
Myles
7e837ef9db Ensure we don't save and load config at same time 2016-11-14 18:46:27 +00:00
Myles
eb78fe4bfc Better flexibility with number loading 2016-11-14 18:29:45 +00:00
Matsv
689f0fd5db Back to the snapshots 2016-11-14 19:17:20 +01:00
Myles
32316cf3ab Fix character limit to 100 for messages, #530 2016-11-14 18:14:49 +00:00
Matsv
d450c9b4d6 1.11 and bump version 2016-11-14 16:15:20 +01:00
Myles
622673d1d3 Small javadoc tweaks 2016-11-14 13:21:06 +00:00
Myles
f4eeb94a2e Better support for malformed json packets #528 2016-11-14 12:03:22 +00:00
Myles
fac7eab59e Prepare for 1.0.0 2016-11-13 14:04:56 +00:00
Myles
1c584040ca Use logger instead of System.out 2016-11-13 13:25:56 +00:00
Matsv
1bec3cf1d0 Change the metadata transformer fail message 2016-11-13 13:36:03 +01:00
Matsv
4142797380 Implement PlatformVersion for better dump output 2016-11-13 12:36:48 +01:00
Matsv
2872bdd1c3 Update the snapshot comment to 1.11-pre1 2016-11-08 16:09:00 +01:00
Matsv
7d29a0c0af 1.11-pre1 2016-11-08 16:02:11 +01:00
Matsv
dd6423de06 Remove event-based commandblock listeners 2016-11-06 11:30:28 +01:00
Matsv
52bbf1affe Handle the actionbar packet change 2016-11-06 10:37:26 +01:00
Matsv
cfaded6cf8 Make CommandBlocks work on BungeeCord with 1.8.8 child servers 2016-11-02 18:14:57 +01:00
Matsv
69e444f83d Fix Bungee constant entity ids 2016-11-02 18:07:21 +01:00
Myles
9f8456a336 16w43a compatibility 2016-10-27 13:23:30 +01:00
Matsv
783542401b Update sounds to 16w42a 2016-10-25 19:31:32 +02:00
Myles
8093c424e2 WIP fix, ping works but it still doesn't connect 2016-10-19 14:44:25 +01:00
Matsv
839d46f5ed Merge remote-tracking branch 'upstream/1.11-DEV' into 1.11-DEV 2016-10-19 15:31:45 +02:00
Matsv
de0b9a2a68 16w42a 2016-10-19 15:31:29 +02:00
Myles
c3bd45cd58 Better naming for version info 2016-10-17 23:05:21 +01:00
Myles
f33d22531b Merge branch 'master' into 1.11-DEV 2016-10-14 23:07:50 +01:00
Myles
e9008923eb Revert "Add json fixing to login disconnect #515"
This reverts commit 301e84d698.
2016-10-14 23:03:40 +01:00
Myles
301e84d698 Add json fixing to login disconnect #515 2016-10-14 23:02:11 +01:00
Matsv
5aad3306eb 16w41a 2016-10-13 17:01:04 +02:00
Matsv
d30bbcd4a3 16w40a 2016-10-06 16:40:47 +02:00
Myles
a3e15bce4d Use correct tags for javadocs 2016-10-04 21:57:14 +01:00
Matsv
f100f6e3f0 Rename Snapshot to 1.11 2016-10-04 20:04:49 +02:00
Matsv
54be03bf77
Merge branches '1.11-DEV' and 'modular' of https://github.com/MylesIsCool/ViaVersion into modular 2016-10-04 19:35:48 +02:00
Myles
64cde13ea7 Ensure order is kept with maps & yaml (as well as concurrency with maps) 2016-10-02 20:50:34 +01:00
Myles
d0e7f05d50 Remove commented line 2016-10-02 19:41:02 +01:00
Myles
21c957b8d5 Config for protocol versions
Also make config concurrent
2016-10-02 19:40:38 +01:00
Matsv
3fe25f68b1
Fix another infinite loop, @MylesIsCool and I are great at creating them ;) 2016-10-02 12:03:56 +02:00
Matsv
7d3548956e
Fix 16w39c 2016-10-01 20:56:14 +02:00
Matsv
3de961f641
Remove infinite loop 2016-10-01 20:26:04 +02:00
Matsv
59620f7f93
Add a command to force search versions @ Bungee 2016-10-01 15:38:53 +02:00
Matsv
f53c8c67e2
Fix Bukkit config NPE, only change the protocol id if ViaVersion can support it and support unsupported Bungee protocol ids (Not working correctly yet) 2016-10-01 13:31:14 +02:00
Matsv
152993f749
Get bungee protocol version detection working. Still some odd issues. 2016-10-01 00:53:50 +02:00
Myles
305f6b7ce2 Implement Hand Item Cache for Sponge 2016-09-30 20:48:02 +01:00
Matsv
313b794285
Merge branch 'modular' of https://github.com/MylesIsCool/ViaVersion into modular 2016-09-30 20:09:03 +02:00
Matsv
7031d431da
Implement 1_11 entity / parent class structure and patch holograms the other way around! Thanks for fixing Mojang :-) #482 2016-09-30 20:08:39 +02:00
Myles
655e14b36e Make dumping pretty print + add Bungee dumping 2016-09-30 16:30:28 +01:00
Matsv
f881f3d484
Merge branches '1.11-DEV' and 'modular' of https://github.com/MylesIsCool/ViaVersion into modular
# Conflicts:
#	pom.xml
2016-09-30 17:19:51 +02:00
Myles
b7b322a525 Full config api for all platforms using snakeyaml + comments 2016-09-30 00:34:16 +01:00
Myles
771c00b146 Implement Task Ids 2016-09-29 22:55:08 +01:00
Myles
23f1589c28 Update commands to add new platform specific command also add platform to updater. 2016-09-29 22:35:51 +01:00
Myles
10fc8f846d Fix PacketWrapper sending and implement Movement Transmitter for Bungee 2016-09-29 21:29:58 +01:00
Myles
31c9332e56 Fix chunks for BungeeCord 2016-09-29 20:46:31 +01:00
Myles
b0d64bfebd Fix a bug in chunks (still not working fully)
Also remove bungeecord-proxy
2016-09-29 20:40:58 +01:00
Matsv
aeec7e5f95
Start working on packet-level chunk bulks 2016-09-29 16:33:14 +02:00
Matsv
8ea3623a79
Stop using new Gson() everywhere (#505) 2016-09-27 19:15:39 +02:00
Myles
866e494d3c Remove Commons 2016-09-27 17:48:56 +01:00
Myles
396998c7fc Factor & Javadoc update 2016-09-27 17:31:10 +01:00
Matsv
51c469882b
Port Bukkit listeners to Sponge 2016-09-26 22:30:59 +02:00
Myles
8b9a1750de Basic Config API for sponge, need to do comments 2016-09-26 20:12:34 +01:00
Myles
3411c3d144 Add encoder name 2016-09-26 17:57:36 +01:00
Myles
cdab5b3f5b Inject into Bungee, (does not get past login from when i've tested)
Also add commands
2016-09-26 14:48:46 +01:00
Myles
42edffb309 Change reflection to NMSUtil, and start work on Bungee (doesn't work) 2016-09-26 13:50:20 +01:00
Matsv
42efc736c3
Cleanup metadata 2016-09-26 14:36:10 +02:00
Myles
90dabce0d2 Sponge: Fix dump, add load message, move loading, handle reload
And fix travis
2016-09-26 11:48:06 +01:00
Matsv
9a8a6e5b16
Implement PPS for Sponge 2016-09-26 11:16:20 +02:00
Matsv
4840db095c
Fix metadata 2016-09-26 11:02:54 +02:00
Myles
b371c14a27 Add Sponge Support 2016-09-26 01:44:21 +01:00
Matsv
08713947b7
Add BukkitViaLoader to the builder and limit the builder methods 2016-09-25 21:42:22 +02:00
Matsv
e56bce2f31
Create builder for ViaManager 2016-09-25 21:33:47 +02:00
Matsv
573374866b
Optimize imports & reformat code 2016-09-25 21:17:09 +02:00
Matsv
32afa2a9a3
Fix building and change versions 2016-09-25 21:10:41 +02:00
Myles
669cbcd142 Fix maven so it compiles 2016-09-25 20:05:58 +01:00
Matsv
79d353d458
Basic configuration api and add platform specific dump info 2016-09-25 20:41:34 +02:00
Myles
30d477c6d2 Add Bulk Chunks, need to do full packet reading as a fallback though 2016-09-25 19:34:24 +01:00
Matsv
4b94c8ad02
Map all entity and object ids / parents and fix metadata searcher 2016-09-25 19:50:50 +02:00
Myles
7a7c3f15d8 Add required provider for movement (for reflection caching) 2016-09-25 18:26:14 +01:00
Myles
52610f7c66 Use HandItemProvider for 1.8 hand items 2016-09-25 18:06:04 +01:00
Matsv
84ee4410a6
Use generics for bossbars 2016-09-25 18:20:42 +02:00
Myles
49d51de263 Start moving listeners away 2016-09-25 17:17:07 +01:00
Myles
848b0cf113 Make ViaCommandSender better, fix quite a few of the commands. 2016-09-25 16:03:03 +01:00
Myles
c4ffdc1b7c Migrate to our own types + use ids instead of materials 2016-09-25 15:40:30 +01:00
Myles
49b602994a Migrate Environment to our own type (todo javadocs for it) 2016-09-25 15:00:05 +01:00
Myles
05930ad791 Add ViaManager and abstraction / Add todo list 2016-09-25 14:39:37 +01:00
Matsv
e7ab232b28
Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into modular 2016-09-25 12:49:22 +02:00
Matsv
598863d43a
Add onCommand and onTabComplete to the interface 2016-09-24 20:12:12 +02:00
Matsv
b146257b1a
Abstract the BossBar for multi-platform support 2016-09-24 19:31:41 +02:00
Myles
dc01fb59b8 Doesn't compile but start work towards seperating into modules... (with legacy support hopefully for basic API) 2016-09-23 18:49:59 +01:00