3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-09-19 18:40:04 +02:00
Commit graph

574 Commits

Autor SHA1 Nachricht Datum
Matsv
b2680d76a6 WIP cleanup 2016-07-11 15:52:06 +02:00
Matsv
db935b454f Make the Metadata types version based and remove the NoGravity tag init since it doesn't seem needed. 2016-07-11 13:48:48 +02:00
Myles
c207a9bfff Count other worlds as nether instead of imploding. 2016-07-10 12:35:46 +01:00
Myles
f5bd041c7b Fix PacketListenerAPI load to be before Via, fixes #463. Tested with NickNamer 2016-07-09 15:21:17 +01:00
Myles
07d89b24af Custom reload message #459 2016-07-09 14:41:07 +01:00
Myles
87b1919863 Let the normal send go through the event loop. Fix signs are sent before the chunks on a 1.9.4 server with a 1.9-1.9.2 client (#460) 2016-07-03 12:05:32 +01:00
Myles
76d7db044f Version bump + small dead code fix 2016-07-02 23:28:54 +01:00
Myles
046ebb8ecc Fix chunk bug 2016-07-02 23:22:44 +01:00
Myles
9385f03722 Bump version and tiny bit of formatting fix 2016-07-02 22:33:54 +01:00
Myles
b48fc17ead Transform block 36 for 1.9.2 reading, and also use PartialType. 2016-07-02 22:32:40 +01:00
Myles
b50d0075ca PacketWrapper allow returning of ChannelFuture with send, and fix blocked protocols disconnect.
Also remove a TODO.
2016-07-02 22:19:43 +01:00
Myles
84d006c71d Merge branch 'lenis-patch' 2016-07-02 22:06:39 +01:00
Myles
212da9c46c Fix resetReader being wrong, ty @Matsv for helping solve this 2016-07-02 22:05:08 +01:00
Myles
8edb7048a1 Code cleanup and implement index fix by @Matsv 2016-07-02 21:23:28 +01:00
Myles
abe3c4b0c9 Identify unsigned byte properly 2016-07-02 21:07:41 +01:00
Myles
c6d3c97c65 Fix clearing of wrapper 2016-07-02 21:07:22 +01:00
Matsv
13c6a9d612 Change getBlockId to get instead of indexOf 2016-07-02 20:45:34 +02:00
Myles
7d2ef743ac Fix stupidity, thanks @Pokechu22 <3 2016-07-02 19:09:38 +01:00
Myles
598d0f96d8 Not sure if i'm working forward or backwards on this, but pushing for progress 2016-07-01 20:17:25 +01:00
Matsv
cbc22922d3 Set default force-sign-transformer to false 2016-07-01 18:51:42 +02:00
Myles
70d91b4f87 Blocked versions now included when server sends supported versions, javadoc fixes & simple colour for blocked-msg. 2016-07-01 16:36:19 +01:00
Myles
17f3d13267 Fix #450, ProtocolSupport concurrency issues, also make listwrapper sync'd 2016-06-30 00:26:12 +01:00
Myles
559674bf58 Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion 2016-06-29 16:43:42 +01:00
Myles
fbc298bc30 Add some more detail to the config 2016-06-29 16:38:38 +01:00
Matsv
e36902c441 Add possibility to block specific protocol versions 2016-06-29 12:26:03 +02:00
Matsv
805c78989a Port all the clients to prevent issues like ViaVersions BossBarAPI not working for clients on the same protocol. (If you use the api on a 1.9> server) 2016-06-29 11:35:15 +02:00
Mats
85e416171c Let the transformer handle the signs (#456) 2016-06-28 13:16:36 +02:00
Mats
b55c0d0783 Possibility to force the json transformer (#455)
* Possibility to force the json transform

* Escape all the Strings. Who likes double quotes anyways.
2016-06-26 21:47:08 +01:00
Matsv
8ccd772105 Change the formatting a bit. merged #421 2016-06-25 13:22:18 +02:00
Matsv
8677c632df Merge remote-tracking branch 'jor/potion' into upmaster 2016-06-25 13:19:14 +02:00
Myles
560476c56f Should fix #452 2016-06-24 14:02:29 +01:00
lenis0012
20bbe7cec6 Support 1.9.2 servers
This code basically reads 1.9 data so it can then be transformed to add
in the tile entities.
it geta a little funky when it already loaded it as a 1.8 chunk tho, so
i had to add some methods to the chunk api.

in short: I hate minecraft
2016-06-23 04:00:59 +02:00
Myles
26fcdfe3bc Allow ability to replace piston extension block to prevent crashing. 2016-06-22 23:34:32 +01:00
Mats
4af98b220c Fix piston tile entity crash (#443) 2016-06-22 21:37:53 +01:00
Myles
b3060e0dc8 Start work on 1.9.2 chunk stuff, no where near done bit stuck on detecting skylight. 2016-06-22 21:32:26 +01:00
Myles
808a9a7d82 Small PPS change to allow %pps to be used as a placeholder. 2016-06-22 21:31:27 +01:00
Myles
32c43e6023 Fix chunks not being written and array type being weird. 2016-06-22 21:22:19 +01:00
Matsv
4c9c50f939 WIP: Move the TileEntities writer to the 1.9 transformer. 2016-06-22 22:00:24 +02:00
Matsv
ac1b35379e Remove not required tags, and remove tested todo's 2016-06-22 20:38:40 +02:00
Myles
b743589d77 This works but lags, only for 1.8 server. 2016-06-22 19:22:38 +01:00
Myles
9dad0a0d5e Fix the arrays 2016-06-22 18:20:42 +01:00
Matsv
f5b49bc9ce Experimental implementation for block entities into chunks 2016-06-22 19:07:46 +02:00
Matsv
b3612a68b0 Merge branch '1.10.1-chunkrefactor' of https://github.com/MylesIsCool/ViaVersion into 1.10.1 2016-06-22 18:36:42 +02:00
Myles
7385db02c2 Reorganise packages and push initial interface 2016-06-22 17:35:07 +01:00
Matsv
501d2ec3a2 Rewrite block tile entities. Not tested yet 2016-06-22 18:03:27 +02:00
Myles
1217a9b7e2 Make versions ordered by the index inserted. (Seems to work best over alphabetical) 2016-06-19 23:32:41 +01:00
Myles
6740c5c6dc Spring cleaning & make /viaver pps say when no players. 2016-06-19 22:36:15 +01:00
Myles
44e8056fb3 Add more versions & use ProtocolSupport API if not ported. 2016-06-19 22:35:49 +01:00
Myles
d1da412cf7 Disable our system when an unknown handshake happens, fixes support for older mc versions. 2016-06-19 22:04:54 +01:00
Myles
6534a5414e Basic compatibility with ProtocolSupport, doesn't seem to work with 1.6.4 due to issues with our Login Handler. 2016-06-19 18:08:49 +01:00
Myles
91344a0b50 Cleanup some of the block placement code. 2016-06-19 18:07:00 +01:00
Troy Frew
27d6c12556 Added TacoSpigot to the block place fix. (#437)
TacoSpigot is a fork of PaperSpigot that people use.
2016-06-13 09:29:10 +02:00
Mats
a76dd1ba49 Merge pull request #427 from Harry5573/master
Correct hologram Y offset
2016-06-10 15:38:52 +02:00
Mats
1a4388b3e7 Convert the Elytra sound properly they added in 1.9.2. Fix #430 (#432)
* Convert the Elytra sound properly they added in 1.9.2. Fix #430

* Change wrong version in comment

* Remove the passthrough
2016-06-09 16:03:01 +01:00
Mats
f1b81f77d6 Use Myles new Magic transformer for the ArmorListener (#429)
* Use Myles new Magic transformer for the ArmorListener

* Use Myles new Magic transformer for the CommandBlockListener
2016-06-09 10:49:31 +01:00
Myles
d6edec3a55 Allow packets to be transformed after sent by specifying the current protocol, woo! 2016-06-09 02:44:12 +01:00
Harry
094f4c6d58 Correct hologram Y offset
https://github.com/filoghost/HolographicDisplays/blob/master/HolographicDisplays/Plugin/com/gmail/filoghost/holographicdisplays/util/Offsets.java#L15 The offset is by default -1.25 for 1.8, however 1.9 clients require only -0.29. (-1.25 - -0.29) = -0.96 which should be the correct offset.
2016-06-08 21:43:15 +01:00
Myles
f8ac54e237 Fix splash potion crash. 2016-06-08 19:02:11 +01:00
joserobjr
089e07fe49 Changes the random chest sounds to normal chest. (#424) 2016-06-08 19:09:19 +02:00
yzimroni
1d3b8f802c Update names from 'snapshot' to '1.10' (#422) 2016-06-08 18:00:21 +02:00
Matsv
249ab01425 Rename package 2016-06-08 16:41:00 +02:00
Matsv
851097de44 Rename package 2016-06-08 16:38:59 +02:00
Matsv
c095a51f7c 1.10 support and version bump 2016-06-08 16:35:06 +02:00
Matsv
5e62b7001e Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into 1.10 2016-06-08 15:35:55 +02:00
joserobjr
a79533bf72 Fixed uncraftable potion conversions from 1.8 to 1.9 2016-06-08 10:31:03 -03:00
joserobjr
e3510d01d6 Fixes potion data conversion from 1.8 to 1.9 2016-06-08 08:09:13 -03:00
Mats
8cc4ba168a Patch EchoPet wrong metadata value (#419) 2016-06-08 11:29:08 +01:00
Matsv
264a21d092 Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into 1.10 2016-06-08 11:37:23 +02:00
Mats
e2585db350 Make the main class cleaner by giving the config his own class (#418) 2016-06-07 19:18:48 +02:00
Matsv
a2f7a52d31 Support for 1.10-pre2 2016-06-07 17:29:30 +02:00
Matsv
d04121202d Modify the config comments to & 1.10 2016-06-07 09:11:33 +02:00
Matsv
95517ade2c Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into 1.10 2016-06-03 22:18:28 +02:00
Matsv
c9441de7e4 Change from info to severe 2016-06-03 21:15:53 +02:00
Matsv
dc946cb845 An amazing feature. 2016-06-03 20:49:06 +02:00
Myles
5fa30d9adb Merge branch 'master' into 1.10 2016-06-03 18:52:52 +01:00
Myles
a7043424ec Support ProtocolLib + late-bind, also it now tells you the plugin to blame if it goes wrong. How nice! 2016-06-03 18:52:25 +01:00
Matsv
e1b3d21732 Woops, the sounds were still broken. Now it should be fixed. no lies this time 2016-06-02 21:19:48 +02:00
Matsv
8ffc056a7e Cleanup and change class/package names from 1.9.3 2016-06-02 21:00:18 +02:00
Matsv
7c274fb03d Handle new sounds 2016-06-02 20:52:55 +02:00
Matsv
3b533b5138 Compatibility with 1.10-pre1 (number 2, git didn't push everything for some reason) 2016-06-02 18:37:05 +02:00
Matsv
5665510f7e Compatibility with 1.10-pre1 2016-06-02 18:34:04 +02:00
Matsv
d5bf7909e8 Sync with master 2016-05-27 19:16:22 +02:00
Myles
e3305e4eae Automatically buffer unknown entities, removes 2 config values and deprecate api 2016-05-27 01:00:01 +01:00
Matsv
15fe8d394e Support for 16w21b 2016-05-26 19:02:06 +02:00
Matsv
082db38c40 Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into 1.10 2016-05-26 17:03:40 +02:00
Myles
be54dc41d1 Add SkinRestorer to plugin.yml unsure if this will fix anything 2016-05-26 14:27:27 +01:00
Myles
487e79c043 Fix javadocs 2016-05-26 13:54:22 +01:00
Matsv
9d9fc65633 Support for 16w21a, how fun. A snapshot without packet changes 2016-05-25 16:44:20 +02:00
Matsv
6eac61c912 Sync with master 2016-05-24 21:17:30 +02:00
Matsv
d89362a271 Sync with master 2016-05-24 21:13:28 +02:00
Myles
9e6c0f72a8 Update version to be 1.9.3/4 2016-05-22 11:41:59 +01:00
Myles
70ad2613f1 Update config to look a bit more nicer, doesn't have the extra space when generated by bukkit. 2016-05-22 11:41:27 +01:00
Myles
9052946c45 Merge branch 'master' into 1.10 2016-05-21 22:12:10 +01:00
Myles
3ddc43bf7b Implement isSpigot() in the API and make it so xray does not activate if they do not use spigot. 2016-05-21 22:07:20 +01:00
Matsv
cdb757eae5 Implement Myles idea to just use templates instead of defining compatibility 2016-05-21 21:19:20 +02:00
Matsv
50a3e03649 Possibility to add 'isCompatible' with other types. Fixes crashes on a 1.8 server 2016-05-21 20:54:26 +02:00
Matsv
957284930e Fix sounds 2016-05-21 16:19:12 +02:00
Matsv
198a24371c Sync with master 2016-05-21 15:01:25 +02:00
Mats
bcc994b0dd Add possibility to get the supported versions from the api and status response (#402)
* Possibility  to send the Supported versions inside the status response packet

* Make lowercase
2016-05-19 18:56:42 +01:00
Matsv
f870bd5a32 Transform pitch correctly 2016-05-19 13:07:51 +02:00