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
Create ResourcePack Generator authored Oct 15, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 41 additions and 0 deletions
+41 -0
  • ResourcePack-Generator.md ResourcePack-Generator.md +41 -0
  • No files found.
ResourcePack-Generator.md 0 → 100644
View page @ 07ac7e6a
# Introduction
The ResourcePack Generator feature allows you to generate a resourcepack from the items and blocks you have configured.
# Usage
## Generate the Resourcepack
This can be done via the use of the `/crucible generate` command
## 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
```yaml
GolfPutter:
Material: IRON_HOE
Model: 1
Display: 'TGolf Club (Putter)'
Generation:
Model: item/clubs/putter
Textures: # this is optional
- item/clubs/putter
```
# Packs
Packs can now contain an "Assets" folder with the following layout
```
Pack
|-- Assets
|-- blueprints (for bbmodels, not implemented yet)
|-- models (json model files)
|-- textures
|-- sounds
```
The contents of these folders should be similar to an actual resource pack. In the example item, it would copy the texture file `Assets/textures/item/clubs/putter.png`.
Items will be generated **using the configured Material and Model numbers**, and will output a warning if duplicates are detected.
## Sounds
The structure of the sounds folder will be used to generate a sounds.json.
`Assets/sounds/entity/cerberus/growl.ogg` would generate a sound at `entity.cerberus.growl`.
If there are multiple numbered sounds, it will add those all as random options to the same sound e.g. growl1.ogg, growl2.ogg
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)
\ No newline at end of file
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
New Mechanics
  • Item Mechanics
  • Item Targeters
  • Item Triggers
  • Item Conditions
New Placeholders
  • Placeholders
  • Placeholders.yml