Commit Graph

446 Commits

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