Cobblemon - Show Held Items
This is a side mod for Cobblemon so it will not do anything without Cobblemon installed.
This mod allows Pokémon's Held Items render in the world. When joining a server that does not have this mod installed, only your own Pokémon's items will be rendered.
Technical Information
Server Configuration
The items that are hidden can be controlled by the server by adding a data pack to the server that replaces the "hidden_items.json" item tag file. Hidden items will still be visible to the Pokémon's owner.
The location of the file should be: "datapacks[YOUR_SERVER'S_DATAPACK]\data\cobblemon_helditems\tags\items\hidden_items.json"
These are the default settings of the file:
{
"replace": false,
"values": [
"#cobblemon:held/is_held_item",
"#cobblemon:berries"
]
}
Any modded or vanilla items can be added here.
Compatibility With Other Models
If there are Pokemon that do not render their held item or if you would like to have custom Fakemon show their held items, you can add a locator in the model named "held_item" or "held_item_fixed".
The "held_item" locator will render held items the same way that players render items. This mostly effects items like the spyglass, trident and other tools.
Sometimes it doesnt look quite right to have an item held the same way as the player. So for bird or dog-like pokemon, it may be best to use "held_item_fixed". This will render the flat default item model.
To change the rotation of the item, simply change the rotation of the locator.
If you have any other concerns or questions, you can inquire here. Thank you!