OriginsxTrinkets 图标

OriginsxTrinkets

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.21.1-1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/originsxtrinkets
资源信息

Minecraft 版本: 1.21.1

平台: fabric

标签: game-mechanics library utility

资源介绍

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\\datapacks\\data\\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_ting",
    "tooltip":"This is a fire ringsss",
    "tooltip_color":"#5E4CE4",
    "shift_tooltip": "fire ring does alot more things",
    "shift_tooltip_color":"#BCB14E",
    "crtl_tooltip": "fire ring does alt of more things",
    "crtl_tooltip_color":"#4EBC9B",
    "powers": [
      "origins:fire_immunity"
    ]
  },

  "climbing_belt": {
    "item": "bluestrinkets:climbing_belt",
    "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 .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

Also if you want to see an example datapack look here https://modrinth.com/datapack/origins-x-trinkets-example-pack/versions

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Paladium Vanilla 16x

价格:0 墨喵币
下载量:0

查看详情
Croptopia x Terralith Compat

价格:0 墨喵币
下载量:0

查看详情
ReThrottle

价格:0 墨喵币
下载量:0

查看详情
Dynamic Player Limit

价格:0 墨喵币
下载量:0

查看详情