Commit Graph

1250 Commits

Author SHA1 Message Date
Ethan
44bc86fa8a Elements now have placeholders.
Format:
%mmoitems_stat_elements_[element]_[damage/defense]%
2021-03-09 00:21:14 -05:00
Ethan
b3478393f9 Fix custom blocks not regenerating with mmocore. 2021-03-08 23:28:50 -05:00
Ethan
a7bdf4f210 Fixes issue #365 from gitlab. Swords should now take damage when using unbreakable stat and custom durability together. 2021-03-08 22:56:26 -05:00
Ethan
038d03aa84 Fixes issue #371 from gitlab. Item Throw ability should no longer throw the incorrect item. 2021-03-08 22:26:26 -05:00
Ethan
5394ec8d0d !config item change 2021-03-06 13:21:57 -05:00
Gunging
b4d1d78b14 Important: go to your config and change the value
```yml
item-upgrading:
    name-suffix: '&f &e(+#lvl#)'
```
to
```yml
item-upgrading:
    name-suffix: ' &e(+#lvl#)'
```
(remove that `&f`, literally the cause of the upgrade suffix stacking bug)

Also removed the spammy debug messages that I accidentally left
2021-03-05 14:50:55 -06:00
Ethan
77fefa235c fix hex colors not showing in crafting station display names. 2021-03-05 11:44:40 -05:00
Gunging
f5523dccdd Actually fixed upgrade level adding up.
Upgrading should really not stack the (+1) (+2) (+3) anymore and should attempt to fix items that suffered this.
2021-03-05 09:53:51 -06:00
Ethan
2e81136c00 additional crafting station lore fixes 2021-03-04 23:26:17 -05:00
Ethan
4e1106f724 fix config items not showing the set name 2021-03-04 23:20:25 -05:00
Ethan
f73785395c Attempts to fix issues with colors in crafting station lore. 2021-03-04 15:23:37 -05:00
Gunging
0b377cffac Should fix level requirements adding together instead of choosing the highest one.
If you actually liked them adding over, you may
se the config boolean `stat-merging.additive-levels` as true.
2021-03-04 09:35:30 -06:00
Ethan
01a06dfb5f Color fixing requires latest mythiclib. 2021-03-03 11:32:16 -05:00
HexedHero
0cc68230c3 Fix "Cannot measure distance between x and x" error 2021-02-28 22:26:11 +00:00
Gunging
ed55898a8c Fixed compatiblity of the Item Updater with items enchanted in previous versions of MMOItems 2021-02-25 19:57:04 -06:00
Gunging
17a8ef46f0 Upgrading now actually compatible with Item Stat MAX_DURABILITY
(In the process, it was made that items fully repair when upgraded, does anyone mind?)

Fixes upgrade consumables saying "You would not be able to use this item" if the upgrade template has this stat, and it had no max durability originally.
2021-02-25 10:25:14 -06:00
Ethan
98ffcc5775 Fixes attack speed issue.
Revert "Unstable Build: Removes mmodecoy."

This reverts commit fb25284e
2021-02-25 09:59:21 -05:00
Gunging
ae5d45b04a Made Item Updating work **much** better, and much more transparent on what it is actually doing.
+ Upgrade level of items may be kept, with its bonuses
+ Gem Stones are now perfectly kept, with all their stats
+ Enchantments may be kept (more details in-game)
+ Soulbound (was already working) may be kept.
+ Item Name may be kept (already kinda working)
+ Lore may be kept (more detail in-game)

Add to your config:
```yml
item-revision:
  keep-data:
    display-name: true
    lore: true
    enchantments: true
    upgrades: true
    gemstones: true
    soulbound: true
 ```

 *Requires MMOLib update*
2021-02-24 23:23:57 -06:00
Gunging
12f9e30ea7 Added cancellable events for item damage.
New stat 'Amphibian' which makes items only work underwater, or under lava, or such.

Currently, this stat and the Biome Requirement only actually prevent you from equipping items in other places, but equipping the item and not changing your laodout allows you to use them elsewhere... I'll be working on a more dynamic check of requirements. This is not a problem for Gem Stones and Consumables though :o
2021-02-23 23:49:30 -06:00
Gunging
1d83b9e5ab New *Required Biome* stat that makes items only work in certain biomes. Case and space insensitive
Adding 'mountains' will make this work on every biome variant that has 'mountains' in its name (Like modified_gravelly_mountains).

Use the '!' prefix to blacklist biomes instead. '!forest' will make the item not work in any forest variant.
2021-02-22 18:56:09 -06:00
Gunging
3cc3c966cb The old Effects format can now be read again (and its supposed to attempt to update it)
Enchantments are now supported in Upgrading Templates. Solves #23
2021-02-22 18:09:32 -06:00
Ethan
b177766e74 Merge remote-tracking branch 'origin/master' 2021-02-22 17:01:49 -05:00
Ethan
fb25284e14 Unstable Build: Removes mmodecoy. 2021-02-22 17:01:41 -05:00
Gunging
b383993f6a Merge remote-tracking branch 'origin/master' 2021-02-20 21:51:08 -06:00
Gunging
5144ff566a Fixed a typo in the config, as well as added a couple new options. 2021-02-20 21:50:52 -06:00
Ethan
a56665c298 Requires latest MythicLib
Fixed issue with item colors being affected by vanilla behavior.

Fixed blank display names not parsing lore.
2021-02-20 22:50:26 -05:00
Gunging
9474dcddf3 Can now choose if a GemStone's stats are affected by Upgrading the item it is put onto. 2021-02-20 21:43:42 -06:00
Ethan
4540bd4cfc Requires latest MythicLib
fixes color code support not working well
improves stat lore
2021-02-20 06:31:58 -05:00
Ethan
c1b66761a5 !lore component support 2021-02-20 06:13:54 -05:00
Ethan
e048bb1e08 !display name component support 2021-02-20 06:05:30 -05:00
Ethan
311d174398 !no more pipeline fail 2021-02-20 05:27:25 -05:00
Ethan
fc47f1c8d2 !Merge branch 'stat-lore-rewrite' into 'master'
Stat lore rewrite

See merge request mythiccraft/mmoitems!4
2021-02-20 03:24:20 -07:00
Ethan
afd59d4b68 !stat lore commit 2021-02-20 03:24:20 -07:00
Ethan
0a71d1026d !update VanillaIngredient.java 2021-02-20 05:14:07 -05:00
Ethan
0646b3b67a support for latest mmolib 2021-02-20 05:08:44 -05:00
Joshua
25f250174d now work with latest lib? 2021-02-19 11:24:48 -06:00
Joshua
f475ad0e24 Work with latest mythiclib? 2021-02-19 11:20:11 -06:00
Blekdigits
a6589810dd fix command in consumables not working at all 2021-02-17 21:49:02 +07:00
Ethan
4d7c14a5a4 fixed blank display names appearing on item creation 2021-02-15 20:41:37 -05:00
Ethan
8aaa648600 attempt to fix color codes(again) 2021-02-15 20:35:59 -05:00
Gunging
cecadb7fc1 !Added a check for Stat Data to be Mergeable before trying to save its history (since it would be redundant if its not mergable). 2021-02-13 11:22:23 -06:00
Gunging
1eca7e36d8 !Upgrading item now actally saves original data. 2021-02-13 11:21:04 -06:00
Gunging
55d698c42a !Removed my spammy console logs - oops 2021-02-13 00:56:09 -06:00
Gunging
0000969058 !Implemented Stat History. Had to make changes in almost every ItemStat for a (hereafter) low maintenance implementation.
Honestly we all make mistakes and I may have messed up somewhere. Hard to test that every single stat is working by myself, so anyone want to try this out too?

----
Also improved spanish translations (lol).
2021-02-13 00:49:35 -06:00
Ethan
fc78e94273 This build requires the latest MythicLib(1.0.6) 2021-02-13 00:35:12 -05:00
Ethan
8be435dcfe Merge remote-tracking branch 'origin/master' 2021-02-12 23:37:59 -05:00
Ethan
892b29c648 !legacy color support 2021-02-12 23:37:53 -05:00
Joshua
377bd797ad dont use last build. try this one out for no duping 2021-02-12 19:41:30 -06:00
Joshua
0d4b38941c build 2021-02-12 18:20:25 -06:00
Joshua
df1bda5239 Offhand equip dupe fix ? 2021-02-12 18:18:41 -06:00