Spigot Plugin with tools for CustomModelData.
- Enforce ResourcePack Download
- Parsing of CustomModelData from the ResourcePack
- Give and Place CustomModelData Items by Category and Name
- Position and Rotation Editor
Your resource pack will obviously need to be configured to use CustomModelData.
The plugin will search for items in "assets/minecraft/models/item/"
From there, it will look for the "predicate" fields in the json files, then the "custom_model_data" field and "model" field.
The category will be the first part of the "model" field without the namespace (e.g. "item" in "mypack:item/mymodel").
The name will be the second part of the "model" field without the namespace (e.g. "mymodel" in "mypack:item/mymodel").
The plugin will then use the category and name in the commands and in the tab completion.
/model3d- Main Command/model3d reload- Reloads the Plugin/model3d give- Opens a GUI to get a CustomModelData Item/model3d give <category> <name>- Gives the Player the Item with the given Category and Name/model3d place- Opens a GUI to place a CustomModelData Item/model3d place <category> <name>- Places the Item with the given Category and Name at the Players Location/model3d select- Selects the nearest ArmorStand/model3d unselect- Deselects the selected ArmorStand/model3d move- Moves the selected ArmorStand using a GUI/model3d switch- Switches the selected CustomModelData between ArmorStand Hand and Head/model3d remove- Removes the selected ArmorStand
custommodeltools.command.reload- Allows the use of/model3d reloadcustommodeltools.command.give- Allows the use of/model3d givecustommodeltools.command.place- Allows the use of/model3d placecustommodeltools.command.select- Allows the use of/model3d selectcustommodeltools.command.unselect- Allows the use of/model3d unselectcustommodeltools.command.move- Allows the use of/model3d movecustommodeltools.command.switch- Allows the use of/model3d switchcustommodeltools.command.remove- Allows the use of/model3d removecustommodeltools.command.*- Allows the use of all commandscustommodeltools.bypass.resourcepack- Allows the Player to bypass the ResourcePack Downloadcustommodeltools.bypass.*- Allows the Player to bypass all restrictionscustommodeltools.*- Allows everything
Every text in the plugin can be changed in the config.yml.
You also have several options to change the behavior of the plugin:
ResourcePack.url- The URL to the ResourcePackResourcePack.hash- The SHA-1 Hash of the ResourcePackResourcePack.kickOnFail- Whether to kick the Player if the ResourcePack isn't applied