Commit Graph

507 Commits

Author SHA1 Message Date
KennyTV
040558e01f
Remap smithing inventory to anvil 2020-05-08 09:21:16 +02:00
KennyTV
d4a76b0ff5
Minor cleanup 2020-05-04 11:18:48 +02:00
KennyTV
446f46db83
Fix entity rewriting 2020-04-30 17:16:47 +02:00
KennyTV
e49c355580
Fix missing channel remap
Fixes #202
2020-04-30 16:26:04 +02:00
KennyTV
8fbcd71e09
Handle soul speed enchant 2020-04-29 21:50:41 +02:00
KennyTV
6e9155ba80
20w18a 2020-04-29 18:19:38 +02:00
KennyTV
c2d81e6e9d
Map the sound name in stop sound packets 2020-04-28 11:23:56 +02:00
KennyTV
8409f6fb2a
Fix show_item count tag 2020-04-27 14:24:52 +02:00
KennyTV
29908523b0
Async mapping loader change 2020-04-25 13:30:26 +02:00
KennyTV
48a69f1411
Add sanity check for implementation version 2020-04-24 11:45:54 +02:00
KennyTV
49daeb33c0
Also process hovered text 2020-04-23 12:37:29 +02:00
KennyTV
b1ca8cc2a0
Approximate hex color to chat color, fix show_text hover
TODO: show_entity hover
2020-04-23 12:25:09 +02:00
KennyTV
2b0745dc2c
20w17a 2020-04-22 23:25:57 +02:00
KennyTV
4d701b1c4e
Use properly renamed entity type constants 2020-04-22 19:30:41 +02:00
KennyTV
0cb41c970b
Load legacy mappings from dir if present 2020-04-19 14:02:52 +02:00
KennyTV
345d78976a
Add VB version to dumps 2020-04-17 21:11:36 +02:00
KennyTV
11417fa04e
Add sanity check for skullowner tag rewrite
Fixes #199
2020-04-17 20:47:22 +02:00
KennyTV
c0668f1ee7
Update 20w16a translation mappings 2020-04-17 09:46:16 +02:00
KennyTV
b11c5e27c5
20w16a, fix strider meta 2020-04-15 18:24:13 +02:00
KennyTV
46577b4396
Only send missing entity warning when debug is enabled
Too prominent plugins fail at respecting the tracking range of the player for packet entities, and people have shown not to be able to find the first appearance of the warning with its explanation
2020-04-11 18:57:56 +02:00
KennyTV
6ab2e2f0b2 Fix npe in mapping loading 2020-04-09 16:40:46 +02:00
KennyTV
b8dde25f3a 20w15a, minimize diffmappings 2020-04-08 19:40:34 +02:00
KennyTV
32c26a5539 Open book when using lecterns on Bukkit
Fixes #194
2020-04-06 15:24:31 +02:00
KennyTV
f263f757de Async mapping data loading 2020-04-05 22:57:32 +02:00
KennyTV
ecceac660d 20w14a 2020-04-02 22:27:42 +02:00
KennyTV
910f5d98dc Fix 1.13->1.12.2 enchantment table preview
Fixes #192
2020-03-31 19:13:41 +02:00
KennyTV
1d48bf5086 20w13a 2020-03-25 21:03:09 +01:00
KennyTV
432977614f Fix skull item nbt 2020-03-23 11:13:38 +01:00
KennyTV
60164a7383 Transform tile entity uuid nbt 2020-03-20 21:12:53 +01:00
KennyTV
1b70321018 Fix parrot shoulder tracker 2020-03-19 10:32:55 +01:00
KennyTV
3b24b0dfe1 20w12a 2020-03-18 20:35:56 +01:00
KennyTV
6b73de2510 Fix number casting in 1.13 enchantments 2020-03-16 12:01:21 +01:00
KennyTV
5909103c56 Fix wrong protocol 2020-03-15 23:32:26 +01:00
KennyTV
99884107fc Fix falling block conversion
Fixes #187
2020-03-15 23:31:34 +01:00
KennyTV
8087b42c40 Map named sound packets, some cleanup 2020-03-15 12:09:56 +01:00
KennyTV
2b269a6563 20w11a 2020-03-11 22:55:04 +01:00
KennyTV
af88a57983 Fix spawn egg conversion from 1.13->1.12.2, some cleanup 2020-03-05 19:03:09 +01:00
KennyTV
9a5d4197fc 20w10a mappings 2020-03-04 18:49:39 +01:00
KennyTV
126300b388 Map obsidian tear particles 2020-02-27 12:33:15 +01:00
KennyTV
334ae94577 Update translation mappings 2020-02-27 08:24:15 +01:00
KennyTV
1d1c3fdc06 20w09a 2020-02-26 19:29:41 +01:00
KennyTV
ace1e6c553 20w07a 2020-02-14 17:00:24 +01:00
KennyTV
9550151de6 Make startup debug more consistent 2020-02-12 13:53:24 +01:00
KennyTV
2b76a5bc17 Resolve memory leak 2020-02-09 14:13:54 +01:00
KennyTV
ba7333184b Partly fix memory leak, remove some unnecessary concurrenthashmap usages
The block entity caching in 1.13->1.12 protocol did not uncache any of the positions/blocks - this at least clears the cache on respawn, but an uncache in the chunkunload is still required to be done
2020-02-09 13:10:06 +01:00
KennyTV
d6fe7914e8 More entity rewriter cleanup 2020-02-09 11:48:47 +01:00
KennyTV
a4ed18f59b Entity rewriter cleanup 2020-02-07 22:32:24 +01:00
KennyTV
57602f2cee Sound mappings 2020-02-07 16:46:58 +01:00
KennyTV
78d85b7080 Item and particle mappings 2020-02-07 09:35:54 +01:00
KennyTV
91f784f3f3 20w09a (missing: sounds, items) 2020-02-06 12:02:33 +01:00
KennyTV
0f1f9328ae Use VV 1.11 EntityIdRewriter 2020-02-05 20:38:03 +01:00
KennyTV
c560373be3 Fix 1.11->1.10 potion splash effect 2020-02-04 14:53:15 +01:00
KennyTV
d9e5f650f1 Disable face player fix by default (unlikely to be used too often) 2020-02-03 11:16:08 +01:00
KennyTV
3144c6fb19 Make the tracker warning slightly more aggressive 2020-02-03 11:02:02 +01:00
KennyTV
7296fd58ec Map 1.14 campfire particles 2020-02-02 10:16:31 +01:00
KennyTV
2334f6c5c9 Fix NPE 2020-02-01 12:44:56 +01:00
KennyTV
152b9db80f Actually set legacy block remaps 2020-02-01 12:07:27 +01:00
KennyTV
01121dedf3 Configurable block/item mappings (1.9-1.12), cleanup
Resolves #39
2020-02-01 11:58:02 +01:00
KennyTV
8df3815e82 Give the output jar a nicer name 2020-01-29 16:59:52 +01:00
KennyTV
83ef8572c1 Farewell, lombok!
Also replaced some optionals with simple nullable objects
2020-01-27 19:41:59 +01:00
KennyTV
aca265956f Handle 1.14 zombies/skeletons holding up arms 2020-01-27 18:43:03 +01:00
KennyTV
08743513ca Replicate explosion sound on 1.15 servers 2020-01-27 14:20:52 +01:00
KennyTV
7578671fc6 Fix 1.13 item mapping 2020-01-27 09:03:03 +01:00
KennyTV
b2df8fc0d9 Custom item mappings (1.12-1.15)
Item mappings as well as their names can now be freely modified in the respective mapping files.
(Todo: 1.9-1.11)
2020-01-26 20:52:08 +01:00
KennyTV
b62c8c46e3 Minor optimizations to legacy block rewriting 2020-01-26 15:41:25 +01:00
KennyTV
d3bcc9f6c8 Prepare 1.15.2 support (if no protocol changes on release) 2020-01-19 19:14:29 +01:00
KennyTV
4680c0f3d2 Remove 1.12 flyingspeed attribute 2020-01-18 10:29:53 +01:00
KennyTV
e809c117c4 Handle translatable messages (1.15->...->1.12) 2020-01-16 23:23:29 +01:00
KennyTV
80ef8a401d Minor change to rewriter register 2020-01-16 17:12:25 +01:00
KennyTV
b00ae1b701 Handle 1.13->1.12.2 translatable key changes 2020-01-16 11:09:26 +01:00
KennyTV
8878a18108 Handle 1.13->1.12.2 (general) statistics 2020-01-15 22:53:34 +01:00
KennyTV
9d3bec1aa1 Handle 1.13 areaeffectcloud particle data 2020-01-14 19:43:04 +01:00
KennyTV
1857244eae We need playerteleport for caching, not entityteleport 2020-01-14 14:15:40 +01:00
KennyTV
d7f67065be Handle face player packet 2020-01-14 13:51:33 +01:00
KennyTV
8c1923b077 WIP Face player 2020-01-14 13:51:02 +01:00
KennyTV
ed67bd888e Fix another 1.14 particle error 2020-01-13 22:43:15 +01:00
KennyTV
95dd94f645 Remap 1.15 particles for areaeffectcloud 2020-01-13 22:29:21 +01:00
KennyTV
71e24d9797 Map new 1.15 particles, fix remap in 1.14 2020-01-13 22:24:44 +01:00
KennyTV
d50c26dd55 Fix book edit 2020-01-12 10:18:09 +01:00
KennyTV
d3ecce71fa Fix 1.14 lightning tracking
Fixes https://github.com/ViaVersion/ViaRewind/issues/145
2020-01-10 14:59:00 +01:00
KennyTV
e40300d0b1 Fix 1.14 particle rewriting
In the used common method, the id rewriting is done after the data handling
2020-01-09 21:59:12 +01:00
KennyTV
884dcbe5b9 Map debug stick 2020-01-07 18:46:19 +01:00
KennyTV
26fab9f1ea Cleanup some block rewriting 2020-01-06 17:59:29 +01:00
KennyTV
07cc5fd7ed Let users move and change block/sound mappings in the data folder 2020-01-06 16:34:39 +01:00
KennyTV
b1c4d563b4 Add option to (not) add the 1.13 scoreboard team color 2020-01-02 19:34:31 +01:00
KennyTV
617f1d3876 Add additional info to entity warning in teleport packet 2020-01-02 18:25:43 +01:00
KennyTV
3e01afbe17 Fix skull rotation
Fixes #121
2019-12-30 14:24:44 +01:00
KennyTV
b339216533 Remap shulker boxes to droppers (for a full block hitbox) 2019-12-29 12:16:56 +01:00
KennyTV
edc4f71403 Fix inventory titles being overriden
Fixes #175
2019-12-25 12:01:04 +01:00
KennyTV
5d8f86e9eb Change immediaterespawn flag on gamestate change 2019-12-24 17:26:41 +01:00
KennyTV
de2c3b3719 Store config values for direct access 2019-12-24 09:57:11 +01:00
KennyTV
35f531d051 Instantly respawn sub 1.15 clients if gamerule is set 2019-12-23 22:55:57 +01:00
KennyTV
f95b05866c Cleanup and fix CanPlaceOn/CanDestroy nbt tags 2019-12-22 12:40:21 +01:00
KennyTV
12819a63a3 Suppress stored entity warning if disabled in Via config
... pretty sure reports of this occurring are caused by HolographicDisplay, but still investigating ;)
2019-12-18 20:05:52 +01:00
KennyTV
6b8f9d87f2 1.15.1 2019-12-17 18:33:21 +01:00
KennyTV
cc93551339 Add more info to missing entity warning in position cache 2019-12-16 20:58:53 +01:00
KennyTV
98eb47c360 Update VV item/position usage 2019-12-14 11:34:57 +01:00
Gerrygames
31b3acdba7 acknowledge player digging 2019-12-11 20:36:47 +01:00
KennyTV
03b7f995f6 Send empty list instead of implicit byte for metadata 2019-12-11 19:11:53 +01:00
KennyTV
a642e46eb3 Cleanup outdated VV check 2019-12-11 12:35:55 +01:00
KennyTV
a25b002fa8 Fix acknowledge player digging 2019-12-11 11:58:55 +01:00
KennyTV
9177dff34f Fix trade list 2019-12-09 19:29:36 +01:00
Gerrygames
f22b6138b9 use isSuppressConversionWarnings 2019-12-09 12:21:24 +01:00
KennyTV
e55ff0130c 1.15 (and a lot of other improvements/fixes) 🎉 2019-12-07 17:14:17 +01:00
Nassim
10217f5c5f Merge dev, fixed suffix length check (#165)
* fix falling block data remap (#161)

* Update README.md (#162)

* fix item hover event on 1.11 (#164)

* Fix kick for overly long suffix
2019-11-21 09:24:28 +00:00
Gerrygames
91ca18de3e Merge remote-tracking branch 'mats/dev' into mats_abstraction 2019-10-20 13:48:47 +02:00
Gerrygames
e7e315983e fix remaps in wrong direction (#160) 2019-10-20 12:36:58 +01:00
Nassim
0da10a2864 Fix 1.11 enchant remapping, arrow velocity and bed handling (#159)
* Arrow velocity and entity meta error fix

* Fix 1.11 enchant remapping, some minor cleanup
2019-10-13 21:20:52 +01:00
creeper123123321
b21fce2506 Fix typo (#41) (#157) 2019-10-13 17:33:42 +01:00
Nassim
8e032f6499 Cleanup entity tracking/rewrites and item rewrites (#155)
* Cleanup entity tracking and rewrites

* Fix

* Item rewriter cleanup
2019-10-12 10:08:18 +01:00
Nassim
1d12eb0b95 Cleanup entity tracking and rewrites, cleanup 1.14.1->1.14 protocol (#148) 2019-09-24 12:53:25 +01:00
Nassim
6a0e553c96 Use VV entity types (#147) 2019-09-23 12:33:28 +01:00
Nassim
f0da0624f7 Fix villager and llama meta rewrites (#146) 2019-09-23 09:00:03 +01:00
Nassim
8e2d640f8c Be able to suppress plugin channel name warnings (#142) 2019-09-13 10:07:51 +01:00
Nassim
b879076026 Check if non-full light fix is disabled (#143) 2019-09-13 10:07:32 +01:00
Nassim
fdcab0d5a8 (Custom) enchant remap fixes, non full block light fix (#124)
* Fix 1.13 enchant conversion + custom enchants

* Remove redundant check

* More enchant remap fixes, add config option for custom enchant display

* Fix non full blocks "saving" block light
2019-09-09 14:23:09 +01:00
Nassim
e6059845aa Remap tridents, fix falling dust and lingering potions (#140)
* Fix falling dust particle for 1.9 clients

* Fix concurrent meta addition / lingering potions
Fixes #125

* Remap trident and trident sounds
2019-09-07 13:49:05 +01:00
Nassim
781ef86af6 Send valid biomes again + remap new ones (#136)
* Remap biomes

* Fix base shulker box remappings, remove unnecessary int/short casting
2019-08-18 08:09:45 +01:00
Gerrygames
3ecf898d0a Fix explosion block desync (#131) 2019-08-14 09:39:12 +01:00
Nassim
1c82d51734 Fix pistonhandler with serverside blockconnections (#130) 2019-08-14 09:38:51 +01:00
ForceUpdate1
b7bd93cfb6 Some improvements 👀 (#126)
* fix particle remaps
fix use bed packets
fix npe in piston handler

* remove todo

* Revert "fix plugin channel remap"

This reverts commit 960197c0

* reformat code

* Comments added
2019-08-04 09:39:43 +01:00
Myles
5a7a8eb334
Merge pull request #119 from ForceUpdate1/dev
Fix plugin channel remap 1.13 -> 1.12 🙌
2019-08-03 09:51:53 +01:00
Marco
2376dad26a fix rgb particle 2019-08-03 10:43:54 +02:00
Marco
2fc0eac1e2 change to ViaBackwards logger 2019-08-03 00:38:06 +02:00
Marco
04793f41c5 Merge branch 'dev' of https://github.com/ViaVersion/ViaBackwards into dev 2019-08-02 21:59:00 +02:00
Gerrygames
66b7b461b7 use correct byte type in trade list packets 2019-07-26 10:53:53 +02:00
Gerrygames
751c585469 fix #122 2019-07-22 22:38:12 +02:00
KennyTV
24d77278f6 Fix typo 2019-07-19 13:01:10 +02:00
KennyTV
d66eb0c56b 1.14.4 support 2019-07-19 12:53:37 +02:00
Foorcee
960197c02e fix plugin channel remap 2019-07-19 08:47:02 +02:00
KennyTV
c186d13ae5 Fix trade item rewrites 2019-07-06 19:36:50 +02:00
KennyTV
01018fe600 Remap 1.13 piston tile entity 2019-07-05 10:22:38 +02:00
Mats
cba2566c21
Merge pull request #114 from KennyTV/dev
Remap 1.14 enchantments
2019-07-03 21:37:31 +02:00
Matsv
b9cb23e353 🔧 Fix commandblock rewrite 2019-07-03 16:28:19 +02:00
KennyTV
e9ffe66131 Fix 1.14 dummy enchant being lost 1.13 conversion 2019-07-02 19:48:42 +02:00
KennyTV
d6a1f06b35 Refactor 1.13 enchantment rewrites 2019-07-02 19:09:16 +02:00
KennyTV
d124b2ddfe Fix npe in 1.13 enchant remaps 2019-06-30 11:23:42 +02:00
KennyTV
92e9eab85e Remap 1.14 enchants, show enchantment level in 1.13 remaps 2019-06-30 10:45:16 +02:00
KennyTV
1d9a0773c7 Set version to 3.0.0-SNAPSHOT 2019-06-30 10:44:43 +02:00
Matsv
105e6f23a2 Rewrite particles 2019-06-29 21:08:24 +02:00
KennyTV
21bd518f45 Properly fix recipe book from 1.14.3 2019-06-25 12:34:01 +02:00
KennyTV
167b715048 Fix new recipe type 2019-06-25 09:16:03 +02:00
KennyTV
1c94e0ead2 Fix 2019-06-24 17:28:32 +02:00
KennyTV
b4c30dbff3 Update to 1.14.3 2019-06-24 17:24:21 +02:00
KennyTV
0c7c7ba05c Fix trident entitytype 2019-06-13 11:45:58 +02:00
Gerrygames
4070efd803 fix wrong light mask 2019-06-12 17:42:11 +02:00
KennyTV
6c27c1e863 whoops 2019-06-09 11:13:42 +02:00
KennyTV
dc12f26f05 Let there be light 2019-06-09 11:11:33 +02:00
KennyTV
3f9e66bd7b Fix recipe book data 2019-06-07 14:46:48 +02:00
KennyTV
9849eebda3 Remap 1.14 spawn eggs 2019-06-07 14:40:00 +02:00