Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1.22 KB

README.md

File metadata and controls

36 lines (31 loc) · 1.22 KB

BackSlot

BackSlot adds extra slots which are easily accessible for storing your sword on your back.

Installation

BackSlot is a mod built for the Fabric Loader. It requires Fabric API and Cloth Config API to be installed separately; all other dependencies are installed with the mod.

License

BackSlot is licensed under GLPv3.

Datapacks

Add items which can be worn on the back or belt via a datapack. There are two backslot item tags given called backslot_items and beltslot_items. To adjust the position and size of the rendered items, a resource pack is needed. BackSlot uses the head renderer which can be set or configured in the models folder and looks like this:

"head": {
			"rotation": [ 0, 0, 270 ],
			"translation": [ 0, 3.5, 0.05],
			"scale":[ 1.05, 1.05, 1.0 ]
		}

A full example can be found below:

{
    "parent": "item/generated",
    "textures": {
        "layer0": "minecraft:item/iron_sword"
    },
    "display": {
        "head": {
			"rotation": [ 0, 0, 270 ],
			"translation": [ 0, 3.5, 0.05],
			"scale":[ 1.05, 1.05, 1.0 ]
		}
    }
}