Resource Packs - Randores/Randores2 GitHub Wiki
This page is for those that wish to create a resource pack for randores.
Textures
The randores texture system is a bit complicated. Basically, every single texture works like the leather armor texture. Leather armor can be dyed, and it uses two textures, one with grayscale pixels that is a sort of template for the color, and one with a normal texture, that remains unchanged. Randores does the same thing, but a bit differently in some cases. Each set of textures consists of a name
and a name_overlay
. It is important to note that the _overlay
is applied after the name
, and thus will overwrite any conflicting pixels in name
. Furthermore, _overlay
usually contains the template pixels, however, name
contains the template pixels for the armor models.
Recipes
With Minecraft 1.12 came the ability to edit recipes with resource packs, through JSON files. Randores provides 3 different recipe types, randores:item
, randores:tome
, and randores:forge_upgrade
. tome
is used to define the recipe for material tomes, and contains only one field, book
, which is used to define the ingredient used for the book. By default, it is minecraft:book
. forge_upgrade
is used to define the upgrades to the craftinium forge, and the default recipe can be viewed here. The clamp
field defines the maximum speed a forge may have. The combine
field defines whether or not forges may be combined, and the upgrade
field defines a list of upgrades. Finally, item
is used to define recipes for the various craftable items added to materials. For an example, see the hoe recipe. These recipes are very similar to the minecraft:shaped
type, with a few key differences. First of all, the #
character is reserved, and represents a randores material. Second of all, the result is defined with the component
and quantity
fields. component
is the CraftableType that the recipe produces, and quantity
is how much it produces.