Minecraft Data Packs / Weapons and Armor

[1.19] Modifiers -REFORGED-

  • check_circle Functions
  • check_circle Predicates
  • 9,907 views, 12 today
  • 1,234 downloads, 1 today
  • 43
  • 54
  • 39
beane's Avatar beane
Level 45 : Master Procrastinator
42
-=-
-
Modifiers <REFORGED>
is a datapack which implements weapon attribute bonuses to further add depth to Minecraft's weapon progression.

-
-=-


build  this datapack is a work in progress.  build
keep in mind that things not functioning properly is nothing out of the ordinary for now.
if you find anything of the sort, please report it in the comments!



sports_esports
  how it works
-----------------------------------


  • Items (melee weapons/tools, ranged weapons, shields and elytra) get a random attribute bonus called a "modifier". This can be either positive or negative.
  • Armor doesn't get any modifiers, however it does get set bonuses. Set bonuses apply to a player while wearing a full set of an armor and are different depending on the armor set you're wearing. (NOT IMPLEMENTED YET)

  • In case you're not satisfied with the modifier your item has, you need a toolsmith villager. This toolsmith villager needs to be at journeyman level or above to be able to do reforging.
  • To give the villager the weapon you wish to reforge, simply throw it on his smithing table.

    [1.19] Modifiers -REFORGED- Minecraft Data Pack

  • If he's near the smithing table, he will get an extra trade which costs amethysts instead of emeralds and cannot run out.

    [1.19] Modifiers -REFORGED- Minecraft Data Pack

  • After buying the reforge, the weapon on the smithing table will get a new random modifier.



extension  customization
--------------------------------------

  • You can add your own modifiers to the datapack, however it requires some knowledge of datapacks.

  • All you need to do is open one of the .json files under "modifiers_reforged/item_modifiers/setup/randomize_modifier/", copy the "None" modifier (template) and add it to the end of the list of your chosen modifier category (melee/ranged/armor, can be identified by looking at what predicate is being referenced under the modifier setup).

  • After this, you name your modifier and change the attributes it should modify.



update  update from old version ("Item Modifiers")
------------------------------------------------------------------------------------

  • For those who've already started a world with the old datapack, "Item Modifiers", and would not like to lose the modifiers on their weapons, I've added a function to update the old modifiers to match the format of the new ones.
  • Simply run the function "modifiers_reforged:operator/update". This will update all items in your inventory. To update everyone's items, change this command to "/execute as @a run function modifiers_reforged:operator/update".

  • After this is completed, you will notice all of your modifiable items have been rid of their lore text. However, as soon as you equip them, they will be updated and keep their old modifiers.

  • Be warned, however, that it's not just the name that remains. Old modifiers use the old datapack's modifier system, and upon updating the items, these values are not updated to use the new system. This means you will see, for example, +0.05 Projectile Damage instead of the intended +0.5.




book  applying custom lore to an item
-------------------------------------------------------------------



  • You can apply custom lore to a modifiable item, but not in the conventional way, so I'm going to explain how here.
  • If you wish to give yourself an item with pre-existing lore, that works the normal way and you have nothing to worry about.
  • The only thing that's different is modifying lore. To do this, you need to modify the item's ModifiersReforgedDisplay.Lore tag instead. This uses the raw JSON text format.

  • There's an example file at "modifiers_reforged/item_modifiers/lore/example.json" which you can use as a template.



star  operator commands
------------------------------------------------

  • You can use the function "modifiers_reforged:operator/reforge" to reforge an item in your main hand.
  • You can use the function "modifiers_reforged:operator/settings" to access the settings menu.



bug_report  bug reports
----------------------------------

  • Regardless of WIP or not, i very much accept bug reports in the comments! Please also report any performance issues if you run into any. The goal here is to make this pack as bug and lag-free as possible!


CreditReLogic
CompatibilityMinecraft 1.19
Tags

5 Update Logs

Update #5 : by beane 03/14/2023 12:04:35 pmMar 14th, 2023

small update

- added support for attribute modifiers, they're not fully supported yet though

- attribute modifier text is not displayed yet, not sure if implementing it is even possible the way minecraft does it, but if it is, it's coming in a later update
- known bug: reforging a weapon with an attribute modifiers gets rid of attribute modifiers entirely
LOAD MORE LOGS

Create an account or sign in to comment.

beane
10/21/2023 7:58 pm
Level 45 : Master Procrastinator
history
beane's Avatar
hello. i just want to put it out there that currently, i dont have nearly as much time and energy for this project as i wish i did. this includes all other minecraft related stuff. recently, my focus has been ever-increasingly shifting from datapacks and i've forgotten about my unfinished stuff here over time. i dont know how many people still care about my stuff, but regardless, i'm really sorry. for constantly promising but never actually doing.

all this is not to say that this project is abandoned - or, at least, i hope for it not to be. take this as more of an announcement that this pack is on hiatus for some time. i dont know how much. but i'll let you know when things start happening again. even if i leave it afterwards, i'm hopeful that i can at least finish this project, but i suppose it'll take a little more than just "wanting".

that's all i wanted to say. have a nice one :)
1
Kakaline
07/05/2023 5:48 pm
Level 3 : Apprentice Collective
Kakaline's Avatar
Hi, does it work in 1.20.1 ?
thx
1
beane
07/05/2023 10:43 pm
Level 45 : Master Procrastinator
beane's Avatar
it seems the datapack itself does not work entirely currently, i'm planning to fix that
2
Monio
07/05/2023 8:40 am
Level 1 : New Miner
history
Monio's Avatar
ALL items have these stats:

-1 attack damage

-4 attack speed

This happens when I equip an item. (even a pickaxe etc.)

It's overall unplayable
1
eternalv0id
07/10/2023 6:02 am
Level 1 : New Miner
eternalv0id's Avatar
This issue popped up as well when playing on 1.20.



Issue vanishes when played on 1.19
1
beane
07/05/2023 11:07 am
Level 45 : Master Procrastinator
beane's Avatar
very weird. i'll check it out
1
beane
06/30/2023 8:45 am
Level 45 : Master Procrastinator
history
beane's Avatar
i've been thinking

since mojang has added better support for custom crafting recipes, do i replace toolsmith villagers with smithing tables for reforging?
would it be any better? please let me know in replies. thanks
1
beane
07/07/2023 3:19 pm
Level 45 : Master Procrastinator
history
beane's Avatar
well turns out smithing table would be a lot worse so asking this was pointless
however, for the next update i made it so you can right click on the top of smithing tables to place and also remove your item, which should solve some issues (..and potentially create new ones)

also i know that the 1.20 update is desperately needed (since the pack is literally unusable in this version), so new question: should i add armor set bonuses before or after updating to 1.20?
1
ghknnm_dll
07/15/2023 11:30 am
Level 1 : New Miner
ghknnm_dll's Avatar
why not?
1
beane
07/15/2023 1:41 pm
Level 45 : Master Procrastinator
beane's Avatar
it would be incredibly unbalanced so i choose to stay with toolsmith villagers
i have nerfed the reforge cost by a lot though (maximum price is like 18 amethyst now instead of the previous 48)
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome