Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCrucible MythicCrucible
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 56
    • Issues 56
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicCrucibleMythicCrucible
  • Wiki
  • ResourcePack Generator

ResourcePack Generator · Changes

Page history
Update ResourcePack Generator authored Oct 19, 2023 by Ashijin's avatar Ashijin
Show whitespace changes
Inline Side-by-side
Showing with 33 additions and 3 deletions
+33 -3
  • ResourcePack-Generator.md ResourcePack-Generator.md +33 -3
  • No files found.
ResourcePack-Generator.md
View page @ 17dcefa2
......@@ -37,10 +37,40 @@ If there are multiple numbered sounds, it will add those all as random options t
All assets are generated in the `mythic:` namespace to avoid conflicts, including with custom blocks now (the sound mechanic will automatically detect these sounds so adding it manually isn't necessary)
## Configure the Items
Generation settings are configured on the item. If no textures are specified, it will attempt to read the model and derive the textures from that.
## Basic Item Configuration
Generation settings are configured on the item in the `Generation` field/section.
## Example Usage
The most basic way of doing this only requires you to set the Generation field like so:
```
EmeraldSword:
Material: DIAMOND_SWORD
Model: 1
Generation: item/emerald_sword
```
This will do the following:
- Check `Pack/Assets/models` for `item/emerald_sword.bbmodel` or `item/emerald_sword.json`
- If neither of those exist, it will check `Pack/Assets/textures` for `item/emerald_sword.png`
```
...so by setting only the Generation field, the generator will auto-detect between the 3 different options for custom items: a .bbmodel model, a .json model, or a regular sprite image.
If the model is a `.bbmodel` file, your work is done! The generator will extract the textures and mcmeta files for you automatically. However, if you are using a `.json` model, the generator will read the textures from the .json file and look for them in the `Pack/Assets/textures` folder (similar to how a resource pack works) and use those.
The Material and CustomModelId of the Mythic item will be used for generating the pack.
## Advanced Item Configuration
Generation supports other options as well for more advanced usage.
```
EmeraldSword:
Material: DIAMOND_SWORD
Model: 1
Generation:
Model: item/emerald_sword # The same as using Generation: [model]
Parent: some/parent
Textures:
- override/texture
```
## Examples
### Furniture
......
Clone repository
  • Home
  • Changelogs
  • Commands / Permissions
  • FAQ / Common Issues
Usage
  • Installation
  • Item Options
  • Item Skills
  • Item Durability
  • Custom Blocks
  • Furniture
    • Paint Brush
  • Crafting Recipes
  • Custom Bags
  • Ammo System / Guns
  • Dynamic Lore Generation - WIP
  • ResourcePack Generator - WIP
New Mechanics
  • Item Mechanics
  • Item Targeters
  • Item Triggers
  • Item Conditions
New Placeholders
  • Placeholders
  • Placeholders.yml