Repository navigation
v5 | Resource Storage & Destinations
In v5, any resource such as recipes is loaded from user configured destinations.
The configuration of destinations is done within the /customcrafting/config/resources/resources.conf file.
Note
.conf files in CustomCrafting use the HOCON format.
VSCode and IntelliJ provide an extension for the HOCON format.
Alternatively, HOCON is fully compatible with the JSON and JSON5 format.
CustomCrafting comes with a default resources.conf file that is configured to:
- load the default recipes from the
customcrafting/resources/defaultdirectory. - load custom user created recipes from the
customcrafting/resources/customdirectory.
Any resource loaded from destinations are in the customcrafting namespace, the directory, and subdirectory are used to group them instead.
There are currently two types:
-
directory- Loads resources from a local directory -
sql- loads resources from a specified SQL database
Each destination can filter the resources it includes. This is used when a resource is saved.
path = The path to the directory. It can be absolute or relative to customcrafting/resources directory.
| Home
- Editions
- Installation
- Performance
- Terminology
-
Save & Register location
-
Result
-
Ingredients
-
Recipe Group
-
Hide Recipe
-
Priority
-
Ingredient Options
- Tags
- Replace with Remains
- Allow Empty Ingredient
-
Result Options
-
Tags
-
Target
- Damage
- Display Name
- Display Lore (v4.16.4+)
- Enchantments
- Echanted Book
- Book Meta (v4.16.5+)
- Banner Patterns (v4.16.5+)
- Firework Rocket
- PlaceholderAPI
- NBT
-
| Updating
- From 1.6.5.x
- From 1.6.4.0
- From 1.6.3.0 or older
- Custom Recipe Book
- Vanilla Recipe Book