{"id":17925760,"url":"https://github.com/appgurueu/visible_wielditem","last_synced_at":"2025-06-27T13:33:59.894Z","repository":{"id":50440315,"uuid":"451119341","full_name":"appgurueu/visible_wielditem","owner":"appgurueu","description":"Shows wielded items in-world.","archived":false,"fork":false,"pushed_at":"2025-05-04T23:51:21.000Z","size":25,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-05T00:27:55.461Z","etag":null,"topics":["minetest","mod","visuals"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appgurueu.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-23T13:54:21.000Z","updated_at":"2025-05-04T23:51:26.000Z","dependencies_parsed_at":"2022-08-30T14:41:57.338Z","dependency_job_id":null,"html_url":"https://github.com/appgurueu/visible_wielditem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/appgurueu/visible_wielditem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appgurueu%2Fvisible_wielditem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appgurueu%2Fvisible_wielditem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appgurueu%2Fvisible_wielditem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appgurueu%2Fvisible_wielditem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appgurueu","download_url":"https://codeload.github.com/appgurueu/visible_wielditem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appgurueu%2Fvisible_wielditem/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260513474,"owners_count":23020564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["minetest","mod","visuals"],"created_at":"2024-10-28T20:57:54.558Z","updated_at":"2025-06-27T13:33:59.880Z","avatar_url":"https://github.com/appgurueu.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Visible Wielditem\n\nShows wielded items in-world.\n\n## Features\n\nModern alternative to [`wield3d`](https://github.com/stujones11/wield3d):\n\n* Relies less on deprecated engine APIs, doesn't aim to support older MT versions\n* Supports colored items. Works well with [`epidermis`](https://github.com/appgurueu/epidermis).\n* Supports glow (for environmental lighting use a wielded light mod)\n* Indicates size of stacks\n* Provides a proper API for mods to use\n* Rotates the model instead of the texture\n\n## License\n\nCode written by [appgurueu](https://github.com/appgurueu) and licensed under the MIT license.\n\nThe screenshot (`screenshot.png`) uses [Hugues Ross'](https://content.minetest.net/users/Hugues%20Ross/) [RPG16](https://content.minetest.net/packages/Hugues%20Ross/rpg16/) texture pack, which is licensed under CC-BY-SA-4.0, and is therefore licensed under CC-BY-SA-4.0 as well.\n\n## Links\n\n* [GitHub](https://github.com/appgurueu/visible_wielditem) - sources, issue tracking, contributing\n* [Discord](https://discord.gg/ysP74by) - discussion, chatting\n* [Minetest Forum](https://forum.minetest.net/viewtopic.php?f=9\u0026t=27714) - (more organized) discussion\n* [ContentDB](https://content.minetest.net/packages/LMD/visible_wielditem/) - releases (downloading from GitHub is recommended)\n\n## API\n\nAll within the `visible_wielditem` global variable.\n\n### `get_attachment(modelname, itemname)`\n\nReturns a table with fields `bonename`, `position` (unit: metric/nodes), `rotation` (unit: degrees) and `scale` (number, unit: metric/nodes) based on model attachments and item tweaks.\n\n### `set_visible(player, visible)`\n\nControls whether the wield item should be visible for an online player.\n\n### `get_visible(player)`\n\nCorresponding getter for convenience.\n\n### `model_attachments`\n\nTable. Keys are model media (file) names, values are tables with field `bonename`, `position`, `rotation` and `scale`. The special field `default` is used for default attachment settings based on `character.b3d` if no model attachments are specified for a player model or if the specified attachment settings are incomplete.\n\n### `item_tweaks`\n\nTable of tweaks applied based on the item. Subtable entries have strings as keys and tweak tables with fields `position`, `rotation` and `scale` as values. `position`s are added up, `rotation`s are properly composed, `scale` is multiplied.\n\n#### `types`\n\nApplies tweaks based on item type. Possible keys are `unknown`, `node`, `tool` and `craftitem`.\n\n#### `groups`\n\nTweaks for a key are applied if the item has an item group with that name.\n\n#### `names`\n\nTweaks for a single item, by full item name.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappgurueu%2Fvisible_wielditem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappgurueu%2Fvisible_wielditem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappgurueu%2Fvisible_wielditem/lists"}