Commit Graph

571 Commits

Author SHA1 Message Date
creeper123123321
e5169378fc
Revert "Replace Unpooled.buffer()"
This reverts commit e9159cb
2018-07-29 08:56:26 -03:00
creeper123123321
ca23750c28
merge upstream^2 + lowercase sound ids 2018-07-29 08:31:48 -03:00
creeper123123321
446fd84035
merge upstream 2018-07-29 08:30:58 -03:00
Myles
fc264d0b0f Cleanup various debug code 2018-07-29 12:14:17 +01:00
Myles
e9ad372039 Remap negative ids to air (workaround for #933) 2018-07-29 11:48:38 +01:00
creeper123123321
73ee2498e8
More optimization 2018-07-25 18:12:38 -03:00
creeper123123321
6608877ef0
Rewrite palette instead of rewriting each block 2018-07-25 18:03:25 -03:00
creeper123123321
e9159cb2de
Replace Unpooled.buffer() 2018-07-25 09:04:06 -03:00
creeper123123321
a403c7424c
*facepalm* 2018-07-24 10:55:08 -03:00
creeper123123321
de2abdcab0
*facepalm* 2018-07-23 10:20:41 -03:00
creeper123123321
088ce93701
Use short[] for sound remapping 2018-07-23 10:15:55 -03:00
creeper123123321
b5a7c92c8d
Add missing .toClient 2018-07-22 19:11:29 -03:00
creeper123123321
d4144264d5
Use short[] for block mappings 2018-07-22 19:03:22 -03:00
creeper123123321
b221530276
Update Protocol1_13To1_12_2.java 2018-07-22 18:02:17 -03:00
creeper123123321
8476c83d62
Merge branch 'master' into master 2018-07-22 18:01:04 -03:00
Matsv
9d624bc822 Reimplement advancements by rewriting the items to flat items 2018-07-22 22:58:18 +02:00
creeper123123321
f15c841b99
Hacky fix to noteblock 2018-07-22 17:51:18 -03:00
creeper123123321
019bccd24a
Rewrite advancements 2018-07-22 17:06:43 -03:00
creeper123123321
584c0709e8
Block data 2018-07-22 16:24:38 -03:00
creeper123123321
d577088b8c
Named sound effect rewriting + Effect rewriting (thanks @Pokechu22) 2018-07-22 15:15:40 -03:00
Mats
72f5d8addc
Merge pull request #910 from creeper123123321/master
Fix bungee-chat italic, bold, obfuscated, underline, strikethrough
2018-07-22 03:24:51 +02:00
Mats
6d959169fa
Merge pull request #914 from Pokechu22/wdl-channels
Remap WDL plugin channels
2018-07-22 03:23:33 +02:00
Pokechu22
1e91b21537 Remap WDL plugin channels 2018-07-21 14:18:49 -07:00
Michał Kasprzyk
b64a0b065c Fix MC|StopSound plugin channel rewriting.
(ID of stop sound packet is 0x4C, not 0x4B)
2018-07-21 17:32:30 +02:00
creeper123123321
faf7e5d25f
Fix bungee-chat italic, bold, obfuscated, underline, strikethrough 2018-07-21 11:48:31 -03:00
Gerrygames
bb4b5d3080 Fix reddust particle color for 1.13 clients 2018-07-21 11:18:14 +02:00
Mats
d27f17f74b
Merge pull request #900 from Dinnerwolph/master
fix server icon
2018-07-21 02:58:46 +02:00
dinnerwolph
3646fad197 fix server icon 2018-07-21 02:51:07 +02:00
Myles
34491967e2 Back to snapshot 2018-07-20 23:29:25 +01:00
Myles
3df70055b0 1.4.1 release 2018-07-20 23:25:57 +01:00
Myles
7c0c4ee74d Implement prefix based team colours (based on code by @JollyAjax) 2018-07-20 21:21:24 +01:00
creeper123123321
6c17615ecb
Accept int tag in level 2018-07-20 15:58:04 -03:00
creeper123123321
9a1376dcb3
Accept int tag 2018-07-20 15:54:52 -03:00
creeper123123321
32161333dd
Fix custom enchantments 2018-07-20 15:47:05 -03:00
creeper123123321
e067492cca
Catch exception 2018-07-20 13:23:40 -03:00
creeper123123321
1cdf2ed1ef
Make compatible with older netty 2018-07-20 13:16:34 -03:00
creeper123123321
dc90652853
Memory efficiency 2018-07-20 13:16:33 -03:00
creeper123123321
a2fce6f4a5
Update WorldPackets.java 2018-07-20 10:29:51 -03:00
creeper123123321
78b9e5d833
Fix biomes 2018-07-20 10:26:56 -03:00
creeper123123321
4e2156bd2b
Remove redundant tags 2018-07-20 07:14:51 -03:00
Matsv
7a331bdb09 Rewrite entity names for spawners, fixes #884 2018-07-20 11:15:37 +02:00
Matsv
df32569af6 Flowerpot check for empty strings / return air 2018-07-19 13:18:34 +02:00
Mats
361c36349b
Merge pull request #877 from creeper123123321/master
Rewrite StoredEnchantments
2018-07-19 13:13:00 +02:00
Matsv
ddbbb14c72 Correct changed directions for item frames Fixes #874 2018-07-19 11:54:09 +02:00
Matsv
a0899d4776 Fix falling / block dust particles 2018-07-19 09:52:53 +02:00
creeper123123321
4c8761b17b
Rewrite StoredEnchantments 2018-07-19 04:51:38 -03:00
Matsv
7eb446d528 Bump to 1.4.1-SNAPSHOT 2018-07-19 09:18:31 +02:00
Myles
d0230af5c9 ViaVersion 1.13 support
Thanks to Matsv, creeper123123321, Pokechu22, PureGero
2018-07-18 23:26:14 +01:00
Myles
17564506b5 Temporary force biomes to be ocean 2018-07-18 23:19:13 +01:00
Matsv
dfd18d64c2 Correct directPallette check (Thanks @Pokechu22) 2018-07-18 23:39:23 +02:00
Myles
c3eaf5a1b0 Remove some channel debug 2018-07-18 19:27:39 +01:00
creeper123123321
7ad59b7cb0
Fix banner items 2018-07-18 15:23:46 -03:00
creeper123123321
5d19697004
Fix patterns 2018-07-18 14:43:57 -03:00
Myles
8f7c090a23 Fix javadocs :P 2018-07-18 18:25:43 +01:00
creeper123123321
9232ea4fd6
*facepalm* 2018-07-18 14:15:37 -03:00
creeper123123321
cd9ff95226
1.13!!!!! 2018-07-18 14:12:35 -03:00
creeper123123321
54ad8606dc
Chunk1_13 - not tested 2018-07-18 14:12:35 -03:00
PureGero
3016e774ff Skulls don't have 'Rot'; Painting names
Skulls on walls don't always have a 'Rot' tag if it's rotation is 0.
'DonkeyKong', 'SkullAndRoses' and 'BurningSkull' weren't displaying.
2018-07-18 18:38:11 +10:00
creeper123123321
ba9198bd45
*facepalm*³ 2018-07-17 17:51:31 -03:00
creeper123123321
29460a310b
*facepalm*² 2018-07-17 17:49:35 -03:00
creeper123123321
3507c2016a
*facepalm* 2018-07-17 17:44:46 -03:00
creeper123123321
6d996a93c8
Do not create unnecessary tag 2018-07-17 17:40:39 -03:00
creeper123123321
7cd1563805
1.13-pre10, fix flower pots, comment debug message 2018-07-17 17:15:43 -03:00
creeper123123321
17023d6afd
Correct comment 2018-07-17 10:41:05 -03:00
creeper123123321
ca85c9739a
1.13-pre9, RIP BaseProtocol1_13, use Type.VAR_INT_ARRAY 2018-07-16 15:45:41 -03:00
creeper123123321
c47d5dcba6
Changes on plugin channel rewriting 2018-07-15 09:26:26 -03:00
Matsv
7335c8ea98 Fix commandblock minecart 2018-07-15 13:56:42 +02:00
creeper123123321
31a1bf35d9
More changes involving BaseProtocol - not tested yet 2018-07-14 09:11:17 -03:00
creeper123123321
051df7401e
Fix click window packet 2018-07-14 07:53:31 -03:00
creeper123123321
5f1fba0276
1.13-pre8 2018-07-13 15:23:07 -03:00
creeper123123321
9ac3110d3e
it should work 2018-07-12 14:29:15 -03:00
creeper123123321
251f8bccaa
/tableflip 2018-07-11 11:31:56 -03:00
creeper123123321
84d3c0d3e8
update tags packet id 2018-07-11 10:46:42 -03:00
creeper123123321
074aa302bc
missing id changes 2018-07-11 10:13:36 -03:00
creeper123123321
638165aad5
1.13-pre7 2018-07-11 09:47:13 -03:00
creeper123123321
aacce4f77b
Sound rewriting with JSON 2018-07-05 07:34:09 -03:00
creeper123123321
2153377c0e
client to server plugin message rewriting 2018-07-04 17:10:30 -03:00
creeper123123321
006fb177e6
1.13-pre6 2018-07-04 10:50:01 -03:00
creeper123123321
cabc010582
Update mappings 2018-07-04 10:33:37 -03:00
creeper123123321
314af6d000
Brackets. 2018-07-03 11:26:00 -03:00
creeper123123321
697e883649
More BaseProtocol changes 2018-07-03 11:19:32 -03:00
creeper123123321
f81892ea74
BaseProtocol changes 2018-07-03 09:58:00 -03:00
Myles
2c62cc37e7
Merge pull request #844 from creeper123123321/platform-and-sponge-changes
Platform and Sponge changes
2018-07-02 22:50:12 +01:00
creeper123123321
e3f71c26e7
1.13-pre5 + revert some changes 2018-07-02 11:36:03 -03:00
creeper123123321
7fda025c0d
maybe cleaner code? 2018-06-28 07:34:56 -03:00
creeper123123321
383cbe15a6
reduce code 2018-06-27 15:08:09 -03:00
creeper123123321
7cace1ee32
fixed flowerpots 2018-06-27 14:27:12 -03:00
creeper123123321
1be25079d4
*facepalm* 2018-06-27 14:16:01 -03:00
creeper123123321
16cc07c020
some modifications 2018-06-27 14:10:37 -03:00
creeper123123321
7d671c2908
Fix BaseProtocol 2018-06-27 09:51:41 -03:00
creeper123123321
df2d9ba3d8
1.13-pre4 + ProtocolPipeline changes 2018-06-27 09:39:38 -03:00
creeper123123321
6f98e35dec
Update BlockStorage 2018-06-22 09:30:11 -03:00
creeper123123321
39419f4ca3
1.13-pre3 2018-06-22 09:19:57 -03:00
creeper123123321
e26b6d08e1
1.13-pre2 + merge master 2018-06-17 10:17:33 -03:00
creeper123123321
cb4fcde6f4
1.13-pre2 + merge master 2018-06-17 10:16:53 -03:00
creeper123123321
f12a210665
Platform and Sponge changes 2018-06-14 15:21:49 -03:00
creeper123123321
32ce40e19e
Enchantment and display name rewriting, use a map for new to old items 2018-06-13 17:12:43 -03:00
creeper123123321
bef1f76e45
Fix block tags 2018-06-05 15:41:34 -03:00
creeper123123321
f022a57b23
tags 2018-06-05 13:50:28 -03:00
creeper123123321
c650b5c0bb
Revert "Update 1.13 mappings TODO fix 1.12 mappings"
This reverts commit e334486e96.
2018-06-04 18:08:44 -03:00
creeper123123321
81f9f5ec60
Merge branch 'dev' of https://github.com/MylesIsCool/ViaVersion into dev2 2018-06-04 17:36:27 -03:00
Matsv
870a9ba68f Regenerate 1.12 mappings with LI, TODO: diagnose wrong 1.13 items 2018-06-04 22:25:50 +02:00
Matsv
e334486e96 Update 1.13 mappings TODO fix 1.12 mappings 2018-06-04 20:42:23 +02:00
Matsv
e9633c6522 Bump to 1.13-pre1 2018-06-04 20:32:27 +02:00
creeper123123321
2ea42eab62
update handlers 2018-05-31 17:20:41 -03:00
creeper123123321
067da7e1d9
18w22c 2018-05-31 12:03:45 -03:00
creeper123123321
9d39bb2d62
18w21b 2018-05-26 08:52:31 -03:00
creeper123123321
6a4f2f6830
18w21a 2018-05-23 15:28:22 -03:00
creeper123123321
120b12feeb
18w20c 2018-05-17 14:09:36 -03:00
creeper123123321
bb64329b07
18w20b 2018-05-16 17:12:43 -03:00
creeper123123321
5878c53aa4
18w20a + mapping changes
(cherry picked from commit 57b5a0d)
2018-05-15 17:00:14 -03:00
creeper123123321
136adaebd5
18w19b 2018-05-09 15:45:09 -03:00
creeper123123321
188cc5019f Maybe better performance? 2018-04-21 11:11:12 -03:00
creeper123123321
e41f445e92 18w16a 2018-04-19 19:39:30 -03:00
creeper123123321
1e0113a58a 18w16a 2018-04-19 16:29:50 -03:00
Matsv
8bf43648ce Regenerate EntityTypeRewriter 2018-04-14 10:23:35 +02:00
Matsv
7d5451558d Generate sound changes for 18w15a 2018-04-13 09:55:49 +02:00
Matsv
c61d5d480e Regenerate EntityTypes 2018-04-12 22:30:00 +02:00
Matsv
960f8ddce7 Bump 16w15a (TODO auto regenerate entities with PAaaS) 2018-04-12 21:59:51 +02:00
Matsv
dc758b767f Reimplement spawnegg items 2018-04-08 17:02:46 +02:00
Matsv
3176d892dd Regenerate 1.12 items using codename GT 2018-04-08 14:26:36 +02:00
Matsv
495d162ef2 Handle block entities to identifier correctly 1.10->1.11 (TODO handle correctly in ViaBackwards) 2018-04-07 18:00:18 +02:00
Matsv
b61b52c57e Fix AreaEffectCloud metadata rewriting when index [9,10,11] is not provided 2018-04-06 21:02:02 +02:00
Matsv
f2f485731f Update to 18w14b 2018-04-06 19:52:45 +02:00
Matsv
1aad25776c Handle AreaEffectCloud metadata 2018-04-05 19:18:14 +02:00
Matsv
07fa0f3e55 Handle (id+(data<<12)) encoded particle blocks; finish particle rewriting (: 2018-04-05 19:01:37 +02:00
Matsv
45105d8c6a Handle particle BlockTypes 2018-04-04 22:51:42 +02:00
Matsv
613001a600 Handle removed particles 2018-04-04 21:46:59 +02:00
Matsv
0ec5777f12 Fix particle arguments, randomize reddustHandler 2018-04-04 21:45:23 +02:00
Matsv
d066c2596b Handle particles with 0 parameters 2018-04-04 21:09:54 +02:00
creeper123123321
b7fde6390e Update mappings, change some things on item rewriter 2018-04-04 14:58:20 -03:00
creeper123123321
feba8785d7 Merge branch 'dev' of https://github.com/MylesIsCool/ViaVersion into dev 2018-04-04 13:17:26 -03:00
Matsv
4a172a27ad Bump protocol (TODO handle new item? (regenerate mappings)) 2018-04-04 18:12:23 +02:00
Matsv
ace9c2d9ec Progress on ParticleRewriter. (TODO finish data types / cleanup code) 2018-04-02 20:24:44 +02:00
Matsv
70e106eeab Start working on particles 2018-04-02 17:06:25 +02:00
Matsv
4d38ca1b3c Fix invisible banners on placement (#819). Send the blockupdate before the Update Block Entity is sent. 2018-04-02 15:51:56 +02:00
Matsv
576bee40fc Change default cobblestone_wall to up=true 2018-04-02 15:07:04 +02:00
Matsv
0efb17af83 Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into dev 2018-03-29 20:43:45 +02:00
Matsv
0228a2849d Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into upmaster 2018-03-29 20:42:48 +02:00
Matsv
af53a96f67 Rip anonymous GitHub gists. :( Use ViaVersion dump! :D 2018-03-29 20:42:11 +02:00
creeper123123321
7eab459195 Fix missing setFlatBlock 2018-03-24 16:39:48 -03:00
Mats
5801cd1e0f
Merge pull request #816 from creeper123123321/dev
Fix last pull request
2018-03-20 18:52:14 +01:00
creeper123123321
6bb0f2145e thinking that i fixed 2018-03-20 14:48:32 -03:00
Mats
15f67392dc
Merge pull request #815 from creeper123123321/dev
Block and item rewriting changes
2018-03-20 18:41:43 +01:00
creeper123123321
6571c42c39 shield mapping 2018-03-20 14:36:15 -03:00
Matsv
851fa4ca54 Handle packet 'Recipe Book Data' changes (ignore for now) 2018-03-20 18:35:58 +01:00
creeper123123321
39dea80d9c todo 2018-03-20 14:27:47 -03:00
creeper123123321
c102ca7f15 shield, damageable, map item rewriting 2018-03-20 14:21:37 -03:00
creeper123123321
9fe187c049 Fix block and item rewriting 2018-03-20 13:46:26 -03:00
Matsv
f56971e5ac Remove debug code 2018-03-20 17:21:04 +01:00
Matsv
fbaaa78b81 Transform FallingBlock to the new block format 2018-03-20 17:19:35 +01:00
Matsv
acb960bfdf Transform Minecart metadata (9) to the new block format 2018-03-20 16:56:32 +01:00
Matsv
0ada2496de Handle new Zombie metatag & change reset color to 21 (as documented on wiki.vg) 2018-03-20 15:55:27 +01:00
Matsv
b7ca30efe8 Fix crash on scoreboard deletion 2018-03-20 14:31:14 +01:00
Matsv
db57916af4 Handle PacketMultiBlockChange correctly 2018-03-20 11:28:44 +01:00
Matsv
4f3074eca8 Correct x, z for BlockStorage 2018-03-20 10:14:47 +01:00
Matsv
a6af99fdbc Handle dog color changes 2018-03-19 20:09:07 +01:00
Matsv
d6df48430b Cleanup Entity1_13Types 2018-03-18 14:28:54 +01:00
Matsv
7a01376144 Generate Entity1_13Types 2018-03-18 14:11:40 +01:00
Matsv
2fb9533575 Auto-generate entity id changes to prepare for PAaaS EnityTypes generation 2018-03-17 17:25:35 +01:00
creeper123123321
c66c277221 grass path 2018-03-17 11:22:47 -03:00
creeper123123321
98a731e5df 18w11a sounds 2018-03-17 10:58:04 -03:00
creeper123123321
74cb0d5167 18w11a mappings 2018-03-17 10:43:11 -03:00
Matsv
e759fbb5db Pull @creeper123123321 's work and bump to 18w11a! 2018-03-17 14:28:53 +01:00
creeper123123321
c24485b5f9 18w10d - todo entities 2018-03-12 17:05:08 -03:00
creeper123123321
8eae83f218 18w09a 2018-03-03 11:59:19 -03:00
creeper123123321
09495695f2 18w09a 2018-03-03 11:58:53 -03:00
creeper123123321
14a86160d6 18w08b trying to not crash 2018-02-24 07:04:12 -03:00
creeper123123321
f59f178cec
Merge pull request #1 from MylesIsCool/master
merge master
2018-02-24 06:55:10 -03:00
creeper123123321
6498c010f8 18w08b trying entity rewrite^2 2018-02-24 06:28:36 -03:00
creeper123123321
909bbc43d0 18w08b trying entity rewrite but didn't worked 2018-02-23 17:46:56 -03:00
creeper123123321
ce326e24e6 18w08b trying entity rewrite but didn't worked 2018-02-23 17:38:50 -03:00
creeper123123321
4de081efda 18w08a sound rewrite 2018-02-21 19:25:56 -03:00
creeper123123321
8848758578 todo 2018-02-19 19:19:20 -03:00
creeper123123321
326c6cb158 18w07c - Fix skull handler 2018-02-19 14:44:14 -03:00
creeper123123321
4e4b35b2e7 18w07c - Fix skull handler 2018-02-19 14:42:54 -03:00
creeper123123321
d7caf2ae3c 18w07c - Handlers 2018-02-18 12:38:26 -03:00
creeper123123321
700f0c293e 18w07c - Fix some inventory issues + mappings, thanks Gerrygames 2018-02-18 05:55:52 -03:00
creeper123123321
00dedaa1ff 18w07c - Fix some inventory issues + mappings, thanks Gerrygames 2018-02-18 05:53:57 -03:00
creeper123123321
34cba80fd8 18w07c* - MISSING MAPPINGS 2018-02-17 20:43:08 -02:00
mmxw11
172ac19585 18w07b - MISSING MAPPINGS 2018-02-17 20:37:50 -02:00
mmxw11
c46bdcf42b
Fix inventory handling
fixes #780 & #800
2018-01-22 21:32:22 +02:00
Matsv
b9e4466ef0 Update protocol to 18w03b 2018-01-19 11:12:05 +01:00
Matsv
9ff20f3fea 18w02a 2018-01-11 16:14:34 +01:00
Matsv
566c9dbda0 Remove debug message 2018-01-07 17:28:50 +01:00
Matsv
ff5bb8acc6 Handle new Pumpkin Carve sound & handle new StopSound packet 2018-01-07 17:22:54 +01:00
Matsv
195b89f24c Change Sun's NotImplementedException to UnsupportedOperationException 2018-01-06 15:29:34 +01:00
Matsv
012aac97ee Handle changed block entities. Fixes banners,beds & flowerpots 2018-01-06 15:23:49 +01:00
Matsv
ba70dae9ad Handle team packet changes 2018-01-05 15:50:01 +01:00
Matsv
c43e702ed9 Cancel the packet that caused non x character crash for now & check for empty custom names 2018-01-04 16:00:55 +01:00
Matsv
9dfbe3b263 Read FlatItem correctly & fix incoming Item type 2018-01-04 15:41:10 +01:00
Matsv
444eabcebf Handle metadata correctly, implement new MetaTypes & bump protocol to 18w01a (non-stable) 2018-01-04 14:59:59 +01:00
Myles
ede4fa5a5d Rewrite BlockId, cancel changed packets, rewrite metadata even if type not found 2017-12-24 12:20:09 +00:00
Matsv
cc4ae6eb80 Bump to 17w50a (no stable). 2017-12-24 13:08:20 +01:00
Myles
0a37031418 Correctly convert between ITEM -> FLAT_ITEM 2017-12-18 15:48:25 +00:00
Myles
bd9096ef6d Flat item should only write NBT when id != 0 2017-12-16 22:17:12 +00:00
Myles
246dc34835 Fix tab completion not completing mid-word, also makes code simpler 2017-12-14 21:25:42 +00:00
Myles
f90029319e Recipe packets are fine, remap scoreboard objectives 2017-12-14 21:19:03 +00:00
Myles
18dc323f7f Named Sound Effect has no changes (apart from id changes) 2017-12-14 19:46:01 +00:00
Myles
a948503895 Better tab support (handle spacing properly) 2017-12-14 19:45:29 +00:00