Origins x Trinkets

allows you to make your own custom trinket items using origins

Description:

This mod makes it so that you can create custom trinket items using the origins mod 

Commands:

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

/originsxtrinkets registertrinket

is used to directly add the newly generated items from the json into the item_gen.json file to generate and register the trinkets you make

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

/originsxtrinkets unregistertrinket

is used to directly remove any trinket item from the item_gen.json config file

(please note that in order to see changes made by using the registertrinket and unregistertrinket command you must reload your modpack)

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

/originsxtrinkets debugmode true

turns off and on debuging messages within the game

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Set Up Guide:

 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Step 1: Create a new datapack and put it in your minecraft worlds datapack folder then create the following list of folders

saves\<Your World>\datapacks\<Your Datapack>\data\<namespace of datapack>\originsxtrinkets\trinket_items\power_trinkets.json

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Step 2: edit the power_trinket.json so that it looks like the following example

{
  "type": "originsxtrinkets:power_trinket",
  "fire_ring": {
    "item": "bluestrinkets:fire_ring<namespace:item_name>",
  (optional)"tooltip":"This is a fire ringsss",
  (optional)"tooltip_color":"#5E4CE4",
  (optional)"shift_tooltip": "fire ring does alot more things",
  (optional)"shift_tooltip_color":"#BCB14E",
  (optional)"crtl_tooltip": "fire ring does alt of more things",
  (optional)"crtl_tooltip_color":"#4EBC9B",
    "powers": [
      "origins:fire_immunity"
    ]
  },
  "climbing_belt": {
    "item": "bluestrinkets:climbing_belt<namespace:item_name>",
    "powers": [
      "origins:climbing"
    ]
  }
}
Definitions:
=================================================================
"item"- is used to hold your custom items namespace or it is used to get an existing items namespace. this will get the select item using the namespace to apply the origin powers to.
Also note that item can be used to apply origin powers to existing items as well as making custom items as well.
=================================================================
"powers"- is used to hold the origin powers you want to apply to the user when the trinket is worn. this is done through typing the powers namespace within powers.
  =================================================================
"tooltip"- if the item you are making is a custom one then this will generate a normal tooltip for that item.
==================================================================
"tooltip_color"- is used to set a custom color for the text of the select tooltip.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Step 3: if the items you are creating do not already exist then you must update the config of the mod so that it is able to generate

the trinket items this config file can be found here <YourModpackFolder>\.minecraft\config\originsxtrinkets\gen_items.json

then once you are in the config file add in your custom items namespace here is an example

{
  "generated_items": [
    "bluestrinkets:fire_ring",
    "bluestrinkets:climbing_belt"
  ]
}

this will create new items with the exact namespaces you put into the generated items config that you can use to make them into a trinket item

another way to also register your trinket items is to use the registertrinket command 

=================================================================

/originsxtrinkets registertrinket all 

=================================================================

when this command is ran all items that were not put within the generated items config will be added into the config file for you automatically 

however, when using this command in order to see the newly registered items you must restart your modpack

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Step 4: with the new items that you just generated using there custom namespaces implement the trinket side of the item. like the item being in the ring, belt or necklace slots and etc

in order to setup the trinket side of things look here trinkets api 

 

Dependencies:

This mod requires the Fabric API library. Those playing on Fabric/Quilt may also want to consider installing the ToolTipFix mod. This mod will fix a vanilla bug that causes tooltips to go off the edge of your screen. Forge and NeoForge both include this fix already. also in addition the mod also requires the Origins mod and the Trinkets mod in order to function

Configuration & Customization

for generating new items, the config is located in the modpacks main config folder under the namespace originsxtrinkets in order to add new trinket items in the game. please note that if changes are made within the config by use of command or physically changing the config update only when the modpack itself is reloaded. 

The Origins x Trinkets Team

profile avatar
  • 2
    Followers
  • 9
    Projects
  • 4.1K
    Downloads

More from blueflare986View all

  • Zarrix Origin project image

    Zarrix Origin

    • 26
    • Addons

    Is an origin addon which allows the player to make custom potions

    • 26
    • September 24, 2024
    • Addons
  • Realm Core project image

    Realm Core

    • 684
    • Mods

    Realm Core is a mod which adds a varitiy of items and unique configs to add to your Minecraft sever or Minecraft world

    • 684
    • August 13, 2024
    • Mods
    • +2
  • Cursed Forger Origin project image

    Cursed Forger Origin

    • 64
    • Addons

    A origin which allows the player to put curses on weapons

    • 64
    • May 23, 2024
    • Addons
  • One of One Powers project image

    One of One Powers

    • 80
    • Addons

    A unique data pack using origins to give droppable temporary powers to players

    • 80
    • March 7, 2024
    • Addons
  • Zarrix Origin project image

    Zarrix Origin

    • 26
    • Addons

    Is an origin addon which allows the player to make custom potions

    • 26
    • September 24, 2024
    • Addons
  • Realm Core project image

    Realm Core

    • 684
    • Mods

    Realm Core is a mod which adds a varitiy of items and unique configs to add to your Minecraft sever or Minecraft world

    • 684
    • August 13, 2024
    • Mods
    • +2
  • Cursed Forger Origin project image

    Cursed Forger Origin

    • 64
    • Addons

    A origin which allows the player to put curses on weapons

    • 64
    • May 23, 2024
    • Addons
  • One of One Powers project image

    One of One Powers

    • 80
    • Addons

    A unique data pack using origins to give droppable temporary powers to players

    • 80
    • March 7, 2024
    • Addons