Commit Graph

66 Commits

Author SHA1 Message Date
md678685
177e5f62f7 Remove providers; move JSON support into ItemDb 2018-10-12 17:26:22 +01:00
md678685
b70b67fa1f Remove unnecessary CraftBukkit dependency 2018-09-09 16:34:15 +01:00
md678685
0afa00779c Add some comments to LegacyItemDbProvider 2018-09-01 19:31:32 +01:00
md678685
a89c97409b Use potion data when looking up items 2018-09-01 15:48:14 +01:00
md678685
102cb6d949 Merge branch '1.13' into 1.13-items 2018-09-01 10:46:27 +01:00
md678685
ca721c1acb Add V1_13_R2 to ReflUtil 2018-08-27 21:29:30 +01:00
md678685
3bf669c42a ItemDbProvider#resolve returns ItemData
More useful than just returning the Material.
2018-08-27 21:21:06 +01:00
md678685
cdc5f75fcb Remove unnecessary equals method on abstract ItemData 2018-08-27 21:19:36 +01:00
md678685
2ddde37771 Improve FlatItemData#equals 2018-08-27 21:02:27 +01:00
md678685
452fa61717 Change tryProvider test values 2018-08-27 19:58:19 +01:00
md678685
96c6c7b1ca Add per-provider implementations of ItemData 2018-08-27 11:23:47 +01:00
md678685
05fcb7b1aa Refactor to allow items to be added after first load 2018-08-25 18:38:50 +01:00
md678685
303aa77901 Add missing import 2018-08-25 16:55:12 +01:00
md678685
65a4ef7ee5 Use items that actually exist in tryProvider 2018-08-25 16:54:50 +01:00
md678685
1be7fbd8a6 Remove hash comment when rebuilding JSON database 2018-08-25 16:54:09 +01:00
md678685
fec655a29c Implement ItemDbProviders, pt 7
Implement getStack and resolve for FlatItemDbProvider
2018-08-19 23:12:27 +01:00
md678685
610774b0b9 Remove default getStack implementation 2018-08-19 23:11:30 +01:00
md678685
9487665fae Use Bukkit PotionData instead of our own 2018-08-19 23:10:23 +01:00
md678685
c37d516980 Use MONSTER_EGG in SpawnEggRefl 2018-08-19 21:16:16 +01:00
md678685
dd9a0de98d Implement ItemDbProviders, pt 6 2018-08-19 20:58:45 +01:00
md678685
56fb8b06cd Add listNames to abstract ItemDbProvider 2018-08-19 20:55:56 +01:00
md678685
1029305382 Implement ItemDbProviders, pt 5 2018-08-19 19:23:20 +01:00
md678685
9b39509e88 Misc changes 2018-08-19 18:30:44 +01:00
md678685
e2507d2ff1 Implement ItemDbProviders, pt 4 2018-08-19 18:03:53 +01:00
md678685
b867f121c9 Implement ItemDbProviders, pt 3 2018-08-19 17:49:34 +01:00
md678685
659f1a271a Merge branch '1.13' into 1.13-items 2018-08-15 19:51:35 +01:00
md678685
3ef0f20b0d Add tipped arrows support on 1.9/1.10
On a side note, need to investigate why the potion provider is only needed on 1.10 and below - I don't remember what changed in 1.11?
2018-08-15 19:42:12 +01:00
md678685
0e9232ba81 Remove breaking import 2018-08-15 19:40:08 +01:00
md678685
299afdc6a1 Add V1_13_R1 to ReflUtil 2018-08-15 18:05:44 +01:00
md678685
04feed8524 Add 1.13+ spawn egg provider
Not sure how necessary this is, but I've done it anyway
2018-08-15 17:46:55 +01:00
md678685
4be28ba193 Implement ItemDbProviders, pt 2 2018-08-14 18:57:47 +01:00
md678685
c5376d3088 Implement ItemDbProviders, pt 1 2018-08-10 22:07:02 +01:00
md678685
3e1857b966 Add module for FlattenedProvider 2018-08-08 15:42:29 +01:00
md678685
1ddb1822ef Merge branch '2.x' into 1.13 2018-08-05 23:02:11 +01:00
Ali Moghnieh
768b92749f
update bukkit to 1.13-R0.1-SNAPSHOT.
This commit just fixes compilation errors.
2018-07-29 17:39:32 +01:00
DoNotSpamPls
03b25a0f06 Set target to Java 8 (for 1.13) & update Maven plugins (#1922) @DoNotSpamPls
This is the same PR as the last one (PR #1823), but I messed that one up accidently, sorry for that!
2018-07-17 09:38:01 +01:00
md678685
3237632eb4 Fix versioning of NMS modules (#1971)
Resolves numerous build errors that emerged in 613e852ffd and for some reason didn't cause a build error on ender.zone, but did everywhere else.

Fixes #1970
2018-05-18 01:23:20 -07:00
Trent Hensler
ace361af60 Compile against 1.13 preview.
Still a lot of work to do. One thing to note is that I used LEGACY materials in a few spots where I didn't know what the new ones are as I'm not very familiar with the 1.13 update and what it changes.
2018-01-18 17:52:44 -08:00
Ali Moghnieh
9963476218
Write NMSVersion parsing special case for FakeServer. 2017-07-28 20:13:13 +01:00
Ali Moghnieh
e572788a8c
Disable /recipe for 1.12 until duplication bug can be fixed. #1289 2017-06-09 15:02:56 +01:00
Ali Moghnieh
5fda1d018b
Add support for spawn_egg durability value in Minecraft 1.11. 2016-12-02 17:02:04 +00:00
Ali Moghnieh
e674056b3a Create NMSVersion for better backwards compatibility. 2016-07-07 04:45:27 +01:00
vemacs
e7c81504a9 Force legacy spawn egg provider for 1.8.x due to client rendering bug 2016-06-12 09:23:25 -06:00
vemacs
fdd5bc5a8e Use more cached methods 2016-06-10 07:44:16 -06:00
vemacs
5eec83f726 Remove old spawn egg providers in favor of reflection-based implementation 2016-06-09 19:25:45 -06:00
vemacs
827891f10a Add reflection based spawn egg provider 2016-06-09 19:18:07 -06:00
vemacs
2bf1f24db2 Update spawn egg provider to 1.10 2016-06-08 20:33:03 -06:00
vemacs
3ead31ef14 Update human name 2016-05-21 14:43:36 -06:00
vemacs
d0ea32dfa1 1.9.4 spawn egg support 2016-05-21 14:15:07 -06:00
vemacs
60548e4523 Cleanup 2016-04-01 20:52:20 -06:00