-
Notifications
You must be signed in to change notification settings - Fork 0
Custom Patterns
roidrole edited this page May 12, 2025
·
5 revisions
Here's how to add custom patterns to the game :
If using resource loader, you can also add custom banner patterns via config by :
- Adding a custom pattern hash in patternbanners.cfg : general/custom_pattern_hashes
- Set a custom banner shape in both
assets/minecraft/texture/entity/banner/[name].pngandassets/minecraft/texture/entity/shield/[name].png - Regenerating the configs with
/patternbanners:regenconfig - Find the mapping for your new pattern·s. It should be at the bottom of the list and look like this :
[number]{
S:hash=[hash]
I:meta=[number]
S:name=[hash]
}You can tweak these values as the following :
- hash : should be the exact same as your custom_pattern_hash
- meta : should be the same as the number in front of the category. You shouldn't touch this if you don't want to break current pattern item
- name : name used for texture mapping and localization. Can be any name not already used. For an easier time, use snake_case
To make the mod generate a recipe, you need to add one of those two fields :
- item : the item used for the shapeless paper + item recipe, in the format : modid:name:meta. Note that meta is required and is 0 for most items
- shap : the shape of a dye crafting recipe, in left-right, top-down order.
"#"represents dyes and" "represent empty spaces. Paper is added anywhere. Only works ifshapes_pattern=truein general