Commit Graph

538 Commits

Author SHA1 Message Date
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
KennyTV
8f84efb833 Hotfix untracked entity 2019-06-02 20:17:55 +02:00
KennyTV
0084f764ba Fix block remaps 2019-06-02 00:00:38 +02:00
Marco
c2d72214de impl first block id remaps 2019-05-30 15:36:11 +02:00
Marco
d64e75d374 inventory name remap 2019-05-30 14:46:31 +02:00
Marco
a12b39b67f remap cartography_table inventory 2019-05-30 14:04:50 +02:00
KennyTV
25b5b1ca8c Remap berry bushes to vines 2019-05-29 14:00:33 +02:00
KennyTV
afe7c69ec1 1.14.2 2019-05-28 13:11:31 +02:00
KennyTV
955056ae61 Remap bell to goldblock 2019-05-28 13:11:22 +02:00
KennyTV
041796c85d Fix zombie submob metadata 2019-05-27 09:45:57 +02:00
KennyTV
f684ed2801 Merge remote-tracking branch 'origin/1.14' into 1.14 2019-05-25 11:49:51 +02:00
KennyTV
92b8a7fd58 Fix bell item remap 2019-05-25 11:49:35 +02:00
Marco
dc18190452 fix inventory slot sizes 2019-05-25 11:41:40 +02:00
Marco
4239d75275 fix intentory rewrites furnace, blast furnace, grindstone, smoker 2019-05-25 11:32:40 +02:00
Marco
111ead2719 Merge remote-tracking branch 'origin/1.14' into 1.14
# Conflicts:
#	core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13_2to1_14/packets/BlockItemPackets1_14.java
2019-05-25 11:04:33 +02:00
Marco
f3710c4fcf fix item rewrites at to server 2019-05-25 11:03:51 +02:00
KennyTV
fda618d7e8 Finish (?) 1.14 mappings 2019-05-25 10:47:36 +02:00
Marco
89099a6f0d fix item remaps 2019-05-25 01:37:32 +02:00
KennyTV
41d286feb5 1.14 sign item mappings 2019-05-24 15:59:10 +02:00
Foorcee
e043ef5f66 Merge remote-tracking branch 'origin/1.14' into 1.14 2019-05-24 13:28:51 +02:00
Foorcee
070661c623 reimpl. item remaps 2019-05-24 13:28:36 +02:00
KennyTV
1d2f9c6d4c A bunch of 1.14 mappings 2019-05-24 13:28:26 +02:00
KennyTV
884113ae3c Set pom version 2019-05-24 12:43:17 +02:00
KennyTV
649d2d1381 Some 1.13 item mappings 2019-05-24 11:20:44 +02:00
Marco Neuhaus
a44d18fb87 Merge remote-tracking branch 'origin/1.14' into 1.14 2019-05-23 19:14:38 +02:00
Marco Neuhaus
f85ef70366 fix dust particle 2019-05-23 19:14:01 +02:00
KennyTV
8d02b00cc3 Remap mushroom stem item 2019-05-23 13:17:27 +02:00
KennyTV
747943258e Add remaining 1.13 -> 1.12 mappings 2019-05-23 13:00:33 +02:00
KennyTV
b20c2cbc3b Fix lever mappings 2019-05-23 11:38:49 +02:00
Marco Neuhaus
b466ed9eb8 fix particle rewrites 2019-05-22 23:53:05 +02:00
KennyTV
a29e88f535 Make 'em blocks placeable again! 2019-05-22 19:55:19 +02:00
KennyTV
85a5ae44e1 Fix minecarts 2019-05-22 18:35:20 +02:00
KennyTV
3107094faa Turtle egg and sea pickle mappings 2019-05-22 17:24:33 +02:00
KennyTV
885ae3f63b Add trident to EntityType1_13 2019-05-22 16:23:56 +02:00
KennyTV
88cfa40776 Fix painting and xp orb tracker 2019-05-22 15:27:48 +02:00
Marco
1dc4a771a3 fix wandering traders + trades 2019-05-22 11:27:27 +02:00
Marco
24bfa82c0c fix item remaps 2019-05-21 23:35:49 +02:00
Marco
4b0881263b add missing remaps 2019-05-21 23:10:11 +02:00
Gerrygames
3d1aa03abb fix cats and ocelots 2019-05-21 23:06:22 +02:00
Gerrygames
114dbedfb7 fix missing metadata index check 2019-05-21 22:28:28 +02:00
Gerrygames
a9ee4ae88b Merge remote-tracking branch 'force/1.14' into 1.14 2019-05-21 22:16:06 +02:00
Gerrygames
e4638688f5 fix mapping size 2019-05-21 22:15:56 +02:00
Marco
347da9c309 Merge remote-tracking branch 'origin/1.14' into 1.14 2019-05-21 22:07:50 +02:00
Marco
19d86058f9 add entity remaps 2019-05-21 22:07:43 +02:00
Gerrygames
a7126b39dc fix horse armor 2019-05-21 22:05:36 +02:00
Gerrygames
dd454d56f3 fix display name 2019-05-21 21:50:57 +02:00
Gerrygames
96b05bcd4f Use logger 2019-05-21 19:43:58 +02:00
Gerrygames
9aa98846d2 fix mappings 2019-05-21 19:16:56 +02:00
Gerrygames
8102506468 a few mappings for 1.14 2019-05-21 18:42:52 +02:00
Gerrygames
05e1fef42c remove pose metadata correctly, add debug 2019-05-21 17:40:26 +02:00
Gerrygames
1911bc55cd further work on 1.14 metadata 📃 2019-05-21 17:19:49 +02:00
Marco
0bb4539d57 first metadata rewriting 2019-05-21 16:33:23 +02:00
Marco Neuhaus
028350de3e fix arrows 2019-05-20 22:08:08 +02:00
Marco Neuhaus
4493f1c3a6 fix spawn object 2019-05-20 21:51:45 +02:00
Marco
2c66e21268 fix more problems 2019-05-19 20:47:05 +02:00
Marco
3706b72855 update 1.13.2 -> 1.14 Packet Ids 2019-05-19 19:15:50 +02:00
Marco
cb396c8534 fix 1.14.1 2019-05-19 16:54:27 +02:00
Marco Neuhaus
53d753932f register protocol 2019-05-15 13:47:10 +02:00
Marco Neuhaus
e4a54fbade add 1.14.1 support (not tested yet) 2019-05-15 13:44:59 +02:00
ForceUpdate1
13c157d2fc
Merge pull request #5 from ViaVersion/1.14
1.14
2019-05-15 13:26:19 +02:00
Gerrygames
9441a1e49e fix map packet 2019-05-07 13:13:15 +02:00
Marco Neuhaus
da67500eaa fix play record rewrites 2019-05-01 14:46:06 +02:00
Myles
adc8c56862 Merge branch 'master' into dev 2019-04-23 15:50:05 +01:00
Myles
cec91ee159 Fix compiling 2019-04-23 15:49:38 +01:00
Myles
cc68a6fa4c Merge branch 'master' into dev 2019-04-21 12:13:23 +01:00
creeper123123321
bb2e089f27
Set item to null when shift clicking 2019-04-20 18:33:29 -03:00
Myles
2d0db67a29 Merge branch 'master' into dev 2019-04-19 16:29:57 +01:00
creeper123123321
77efe57015
fix tag name conflict 2019-03-30 16:33:02 -03:00
creeper123123321
6f20b874c5
fix possible array out of bounds 2019-03-30 15:08:31 -03:00
creeper123123321
1f3ed39eb6
fix toServer 2019-03-30 14:39:45 -03:00