Resource Pack - Z4OLLIEZ4/Space GitHub Wiki
Space has a custom resource pack which does not need to be installed, as the plugin can automatically enable it if the user follows the steps below:
- Leave the server, click "Edit Server", and enable "Server Resource Packs".
- Join the server and type
/space
.
- Click the "Resource Pack" icon.
- The resource pack is now enabled!
Servers can change the resource pack link located in config.yml
to their own custom resource packs, so not all Space servers will look the same. If you're planning on doing this, use the Space resource pack as a reference by using the CustomModelData tags in the models
folder. The CustomModelData tags are configurable, but the default is 1234567
. Other models using the same item will add an amount to the tag (E.G. 1234568
).
If multiple resource packs are conflicting with each other, the packs must be merged:
- Make a new pack for the merged pack.
- Copy one of the
pack.mcmeta
files from either pack, or create a new one. It is recommended to differentiate thepack.mcmeta
from the original packs' to avoid confusion. - Open the
assets\minecraft
directory in both packs and search through each directory. - If any files are shared in both packs (E.G., both packs have
assets\minecraft\models\item\arrow.json
), open both versions and combine the content from both files. Typically, for models, this will involve adding entries to theoverrides
tag. Place all entries from both files into the combined file, and ensure that the predicates' numeric values are in ascending order. Note that all overrides must be separated by commas.
Example
File 1
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "minecraft:item/arrow"
},
"overrides": [
{"predicate": {"custom_model_data": 1}, "model": "foo:item/example"}
]
}
File 2
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "minecraft:item/arrow"
},
"overrides": [
{"predicate": {"custom_model_data": 2}, "model": "something:folder/etc"}
]
}
Combined
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "minecraft:item/arrow"
},
"overrides": [
{"predicate": {"custom_model_data": 1}, "model": "foo:item/example"},
{"predicate": {"custom_model_data": 2}, "model": "something:folder/etc"}
]
}
- If
sounds.json
is present in both packs, the entries must be combined again. Unlike with model overrides, the order does not matter for sounds. - If, after loading the combined pack, missing textures are present, follow these troubleshooting tips:
- If every instance of an item is a 2D missing texture, the JSON file likely has incorrect syntax.
- If only some overrides of an item are 2D missing textures, the paths to the models in the overrides may be invalid.
- If overrides are rendering models correctly but are missing textures, the paths to the textures in the model files may be invalid.
- If the pack is not appearing in the resource pack list at all, the
pack.mcmeta
file may be missing or have invalid syntax.
- Close your instance of Minecraft
- Head over to
%AppData%/.minecraft/
- Delete the
server-resource-packs
folder - Restart your game
- Done!