Commit Graph

1241 Commits

Author SHA1 Message Date
Gunging
1f88c15f28 Smithing Crafting Recipes now supported.
**Update MythicLib**

Pro tip: Its not implemented in-game but you can write it in the config files directly:

```
    crafting:
      smithing:
        '1':
          input1: SWORD.HEARTSWORD
          input2: SWORD.ORACLE_SWORD

          # Makes extra gems drop instead of getting lost
          drop-gems: true

          # If both inputs have upgrades, how to treat them?
      #   upgrades: ADDITIVE  # Sum them
          upgrades: MAXIMUM   # Largest of them (Default)
      #   upgrades: EVEN      # Average
      #   upgrades: MINIMUM   # Minimum of them
      #   upgrades: NONE      # Actually just dont keep upgrades
```
2021-03-29 23:22:28 -05:00
Gunging
e30a0f9e8f Updating MMOItems with Random Stats now asks the following question:
Under the new RNG parameters, is the chance of getting this same RNG roll less than 1 in 3,000?

If the answer is *yes*, the stat is Rerolled with the new parameters. Otherwise it remains the same :)

Or then again, you can always enable in the config, if you wanted them to roll
```yml
item-revision:
    reroll-when-updated: true
```
2021-03-29 18:53:14 -05:00
Gunging
4dc91ff3e0 You can now choose with certainty which RPG Provider plugin you want to use.
(RPG Provider is, which plugin tells MMOItems what class / level players are, like MCMMO power level or MMOCore or whichever).

Add to your config:
```
preferred-rpg-provider: <plugin>
```

If you misspell the name, you'll get this list telling you all RPG Providers supported:

```cs
[MMOItems RPG Provider] These are the supported ones:
[MMOItems RPG Provider]  + MMOCore
[MMOItems RPG Provider]  + Heroes
[MMOItems RPG Provider]  + SkillAPI
[MMOItems RPG Provider]  + RPGPlayerLeveling
[MMOItems RPG Provider]  + RacesAndClasses
[MMOItems RPG Provider]  + BattleLevels
[MMOItems RPG Provider]  + mcMMO
[MMOItems RPG Provider]  + McRPG
[MMOItems RPG Provider]  + Skills
[MMOItems RPG Provider]  + SkillsPro
```
2021-03-29 17:44:32 -05:00
Gunging
623bcf3200 Recipes now work even if the Mango Consumable was deleted.
Sorry about that I just really like the Mango so I based the entire system on top of a 'temporal' test that shuts everything down if the mango was missing....

Also, Updating items with RevID should no longer reroll RNG stats if you have the following in your config:
```
item-revision:
    reroll-when-updated: false
```

Also the spread formula for DoubleData is kind of strange so an alternative has been added, add this to your config to use:
```
additive-spread-formula: true
```
2021-03-29 17:14:12 -05:00
Gunging
bf6e37f87a **Update MythicLib again pls**
Recipes now work even if the Mango Consumable was deleted.
Sorry about that I just really like the Mango so I based the entire system on top of a 'temporal' test that shuts everything down if the mango was missing....

Also, Updating items with RevID should no longer reroll RNG stats if you have the following in your config:
```
item-revision:
    reroll-when-updated: false
```

Also the spread formula for DoubleData is kind of strange so an alternative has been added, add this to your config to use:
```
additive-spread-formula: true
```
2021-03-29 17:02:29 -05:00
Gunging
aa6800b237 Added option to keep external SH data past updating items.
Fixed bug where Updating an item would cause the template to become leveled up (this was absolutely ridiculous and hilarious btw), fixes Ticket #mmoitems-1283
2021-03-29 12:09:00 -05:00
Gunging
9108b9fd81 Shaped and shapeless recipes rework ready 2021-03-29 10:13:58 -05:00
Gunging
c4266fb61d Custom crafting with shaped and shapless recipes rework ready... 2021-03-29 09:42:22 -05:00
Gunging
3ffde990d1 Merge branch 'crafting' into 'master'
Crafting

See merge request mythiccraft/mmoitems!5
2021-03-29 07:27:57 -07:00
Gunging
d1d08830fb Merge branch 'master' into 'crafting'
# Conflicts:
#   src/main/java/net/Indyuce/mmoitems/listener/DurabilityListener.java
2021-03-29 07:26:39 -07:00
Gunging
b814a988d5 Vanilla crafting rework is live, update MythicLib to use (will be released shortly) 2021-03-29 09:18:50 -05:00
Ethan
4d42a0d1cb Durability has been reworked to accommodate all needs.
Changes:
Unbreakable now will restrict items from losing all types of durability (custom and vanilla).

New Durability Bar boolean stat. This determines whether or not the vanilla durability bar will be shown when using custom durability. Note: This will be scaled according to the custom durability.
2021-03-29 03:51:58 -04:00
Ethan
576e2d508d !durability 2021-03-29 02:12:58 -04:00
Ethan
61644a1b1f !DURABILITY BAR 2021-03-29 02:12:51 -04:00
Ethan
b2d59b3c18 !durability 2021-03-29 02:10:57 -04:00
Ethan
76031dfb97 !DURABILITY BAR 2021-03-29 01:04:43 -04:00
Gunging
3b9a068314 !MMOItems no longer fulfill vanilla item requirements in crafting 2021-03-27 00:03:10 -05:00
Gunging
2ed5c9896c !Implementation of Custom Crafting System that very well supports MMOItems 2021-03-26 12:25:48 -05:00
Ethan
2fb3d69307 null checks 2021-03-24 07:35:26 -04:00
Adam
0b4afabcdd Potential fix for unbreakingLevel NPE 2021-03-22 03:52:01 -04:00
Adam
daf1e15680 Broken weapons no longer do damage 2021-03-20 20:03:04 -04:00
Ethan
ee0bd71403 adds back durability to unbreakable items with a custom durability set 2021-03-20 11:56:51 -04:00
HexedHero
ae175089df !Format fixes 2021-03-20 06:53:34 +00:00
Adam
f3a40b926e Only items with durability can be broken 2021-03-19 14:41:56 -04:00
Gunging
f27b9162d9 Gemstone Data more resilient to types being missing. 2021-03-18 12:14:25 -05:00
Adam
65e3ddb87f Prevent untargeted weapons from firing when broken 2021-03-17 03:44:05 -04:00
Adam
59b2592fb3 Don't let player equip armor that they can't use 2021-03-17 02:55:02 -04:00
Ethan
81eafa4605 update item updater to support components 2021-03-17 01:48:35 -04:00
Gunging
eb92fd0bc1 PermanentEffects now correctly provides its clear stat data.
Fixes ticket #mmoitems-1211
2021-03-17 00:32:57 -05:00
Ethan
05acf3573a !durability listener shelved for the time being 2021-03-11 17:59:04 -05:00
Ethan
a0b29dc8d2 durability checks for custom before applying vanilla damage. 2021-03-11 04:26:17 -05:00
Gunging
c6c4241804 Okay, you MUST make sure you use capital letters in HEX code. Also never use &f code its mega buggy.
Correct:
```
   name-suffix: ' <#CEEE70>&l+#lvl#'
```
2021-03-10 15:28:33 -06:00
Gunging
e791286598 I am once again fixing upgrade suffix duplicating in obscure scenarios. This time if the color code you use is the same that the name of the item you are upgrading ends with.
**You know what? Dont use vanilla color codes, just go to https://htmlcolorcodes.com/color-picker/ and pick a color for it**

```
    name-suffix: ' <#CEEE70>+#lvl#'
```
2021-03-10 13:49:39 -06:00
Ethan
7421089678 Disable death drop now schedules the items to be given back 10 ticks later. 2021-03-10 12:33:14 -05:00
Gunging
45d98f8682 Fixed upgrading levels to over +10 bugging out the name. 2021-03-09 22:51:32 -06:00
Adam
f06380fcac Fixes issue #373, mmoitems.bypass.soulbound now works as expected. Also adds a 'Disable Drop On Death' stat to items 2021-03-09 21:54:28 -05:00
Ethan
19a6e7a4d6 !disable death drop stat. 2021-03-09 21:50:55 -05:00
Ethan
a2a01bfb42 item similarity fix 2021-03-09 05:03:18 -05:00
Adam
821f6dbb5a Fixed error when firing bows on versions below Minecraft 1.16 2021-03-09 04:01:51 -05:00
Adam Lower
e07eafbf71 Updated blunt sound effect to not be as loud and as high pitched 2021-03-09 01:10:31 -05:00
Ethan
16d3157b51 Unidentified items should have the correct formatting now. 2021-03-09 00:33:50 -05:00
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