Description
This mod is meant to be used together with my other mods Custom Main Menu and Custom Backgrounds but it can be used with any other mod that can take resource locations for config options.
It allows users to add their own resources to minecraft. While this would be possible using resource packs these resource packs would be visible in the resource pack window (Which the resources added by this mod aren't) and you can also just add resources to a simple folder which is easier then repackaging the resource pack every time.
Usage
After your first run with this mod installed you will notice a folder called "resources" created in your main minecraft folder (where config,saves etc. are located). That is the place you will be adding your resources to.
In case you don't know what a resource location is it consists of a resource domain and a resource path. With mods the resource domain is generally the mod id so "randomthings:textures/blocks/advancedFluidDisplay.png" refers to a texture of my Advanced Fluid Display. The vanilla resources are located in the "minecraft" resource domain ("minecraft:textures/blocks/dirt.png"). If a mod you are using now requires you to enter a resource location for something (For example Custom Main Menu or Custom Backgrounds) the resource domain will be a folder in the resources folder.
This will probably be easier to understand when you see an image:
The Resource Location for singleplayer.png would now be "test:textures/singleplayer.png".
If you don't understand this / have problems using this with a mod feel free to ask on this page. Do not ask if you just don't get what this mod is supposed to do :P.
The things you put in the resources folder can override vanilla resources but can be overridden by installed resource packs. If you want to override everything, including all installed resource packs create a new folder called "oresources" where the resources folder is, resources put in "oresources" have the highest priority, e.g. override everything else that contains that resource. The following image shows how minecraft "searches" for a resource:
Debugging
By default Resource Loader will print all resource domains it has folders for to the debug log. By creating a folder called "debug" in either your resources or oresources folder you can enable additional logging. Resource Loader will then print a line to the debug log whenever it can't find a requested file.
You can use this mod in any modpack without asking first
bonjour je cherche depuis plus de 10h comment fonctionne ce mod et je ne le trouve toujours pas je voudrais charger un pack de texture mais je n'y arrive pas j'ai un dossier nommé "oresources" qui est dans "ressources" mais ça ne marche pas j'ai essayé avec le pack de texture compressé et non compressé mais toujours pas... merci de m'expliquer je ne comprend vraiment pas d'avance merci
In reply to m3356:
i am on the latest 1.12.2 mod version et and the latest version of forge
In reply to m3356:
ok finally i found how to
Hey could I get some help with this? I'm trying to get my modpack to recognize my logo, but regardlesss of what I do it doesn't and I just get the purple checkers.
Minecraft 1.12.2 (gyazo.com)
Resource Folder Setup is: resources/gui/textures, what would be the proper path? I'm trying: "image" : "gui:textures/modpacklogo.png", but it does not work.
Hello!
I've got an image, and i was wondering how I would make it one solid image for the loading screens rather than multiple repeated tiles. Since i have a 4K image (there's a lower pixel art res version) and I'd just like it to fill the whole screen rather than small tiles of it. I was wondering if you had any ideas in the cfg on how I would achieve that? Or unless it is not possible as the mod is currently.
In advance, thanks!
Hello,
is it possible to add names (via .lang files through your mod) to Underground Biomes stone blocks ?
(Red Granite and Black Granite and all the other blocks have "tile.igneous_stone.name" (you can see that in a IF black hole unit))
I never worked with your mod, but I understand your example with the picture, but the one name for all the blocks in maybe a bit more complicated. :D
How would I get my Blocks folder to shuffle between the textures i select? Like, every time you'd start the client it would be a different texture. Any help would be fantastic, thank you
pliz update the links so they work!
Hello, you know how in RLcraft the background is blue and stuff?
I don't know how they did that, but I want to change it to my own custom texture, how do I do that? I found that it was in the resources file
In reply to TheOtherworldIy:
They use Custom Main Menu with resource loader.
In reply to cl_magnus:
Yeah lol, I figured that out eventually. Thank you :)
hi
I've been working on this for an hour but I don't know what's wrong
the file location is modpack\resources\modpack\Textures\
no matter what i do it always looks like this https://gyazo.com/dd503a9c9c063e4c5a59eb8131fb14cc
if someone could tell me why i would appreciate it
In reply to Mortaguy56:
the image should be modpack:textures.png
cause i think it searches in the resource folder by default i use it like that and it worrks like a charm
uuuh smol brane no understand nerd stuf
i want to give actual custom planet icons to my planets in advanced rocketry. how do that?
edit: the resource folder has nothing in it
In reply to mingcming:
I'm actually doing the same thing.
You need to create folders in the "resources" or "oresources" folder that correspond to the folders in the mod. To find out the folder structure, just extract the .jar file for the mod.
For the planets:
modpackMainDir -> oresources -> advancedrocketry -> textures -> planets -> yourplanet.png
Under the "planetDefs.xml" file, just change the "customIcon" to the name of your image. Just the name. The location and extension are not required.
In reply to suatae:
i do have one more question. there are 12 planet icons in AR. could I add more than 12 icons?
edit: i should have said this first but, thank you!
In reply to mingcming:
You can add as many as you need. I have a couple dozen planets and each have there own icons. I simply used the planet name as the texture file name so I could keep track. I've even changed the background in the planet selector to something a bit more vibrant.
Your welcome.
Once I'm done, I'll share the final result.
hi,
i'm not sure whether to ask the developer of the mod or you - but i'm trying to do an advanced rocketry config with resourceloader textures (the ar config page says this is possible) but i can't get the planets to appear