-
Notifications
You must be signed in to change notification settings - Fork 41
Compatiblity and Custom Data
To make your custom armor model work with Estrogen's chest feature, you just simply need to add a singular per-armor compat asset file (This means it can be provided with a simple resourcepack).
the file should be named and located as this:
/resources/assets/<modid of the armor>/estrogen_armor_data/<armor item name>.json
As for the contents of this json, you simply specify the texture, main uv, left uv, right uv and the size of the texture:
"texture": "<armor texture>.png",
"uv": [0, 0],
"left_uv": [0, 0],
"right_uv": [0, 0],
"size": [0, 0]
}
Size corresponds to the size of the texture in pixels.
You can find example here of Ad Astra jetsuit: texture and json
should be pretty self explanatory, sadly currently doesn't use entity predicates but might switch to them soon, your json should be structured like this:
{
"type": "estrogen:entity_interaction",
"cant_be_baby": <boolean if entity can be a baby>,
"entity": {
"tag": "<entity tag>",
"entity": "<entity id>"
},
"ingredient": {
"item": "<item id you click with>"
},
"result": {
"count": <result count>,
"id": "<id of the resulting item>"
},
"sound": "<sound id to play when action is complete>"
}
This will also add the recipe to the provided recipe viewer. Example can be seen here: recipe
- Home
- Producing Estrogen
- Leveling Up
- Blocks
- Items
- Fluids
- Entities
- Concepts
- Soundtrack
- Configuration
- Frequently Asked Questions
- Developers
- Credits