• 0

    posted a message on Having trouble copying over lantern texture

    Don't click on search, click on a file without opening it, and then write "lant" to make absolutely sure there is no file starting with "lant" in either blockstates and block models folders.

    Posted in: Resource Pack Help
  • 1

    posted a message on Create Threads with Appropriate Information

    I have helped this part of the Forum for many years, and some things I have had to repeat because some people didn't know or assumed we don't need to know more than they think is absolutely necessary. I wanted to create this guide to link to, so I don't need to reformulate it every time, which happens like every 2 months.


    Table of Contents

    • Basic Knowledge

    • Baseline Information

    • Look-up Table

    • Editors and Encoding

    • Indexes and Objects


    Basic Knowledge

    The basic knowledge we expect you to know is the so-called "Wikipedia Knowledge" of Resource Packs, no tutorials, no framework that does it for you.

    It already explains what you need to know to make a pack with all the freedom you can have, where frameworks might limit you, and leave you to fight for yourself if you encounter a problem.

    The basic knowledge for your specific situation should be: Create a Resource Pack, Languages, Blockstates, Models (Block, Item), Sounds (sounds.json), Textures (Particles, Font), Shaders (Wiki, Pioneer)


    Baseline Information

    The least amount of Information your Thread should have in its first post are files pertaining to your problem.

    If it's the block/item model, then the block model (and blockstates) or the item model, together with file path starting at the namespace of your pack. (large code blocks preferably embedded in a spoiler)

    If it's the language, then the language file, the file path. (and the pack.mcmeta for custom languages)

    If it's the sounds, then the sound file paths and the sounds.json file.

    If it's the textures, then the texture in question, the file path, and the program you used to create it.

    If it's the shaders, maybe the code? I can't really tell what to do there, because no one in this Forum knows anything about shaders. (and my knowledge is insignificant)

    Some people will also ask for the session log, which can be directly read in the launcher settings → checkbox for output log, or the latest.txt file found in .minecraft/logs/ where the .log.gz files can be opened like normal .zip files.

    You can add screenshots of the problem, but...

    Don't-Do:

    • Screenshots of the file being displayed in the editor,

    • make anyone who wants to help have to download your pack first (except as further elaboration aid),

    But you can remove unnecessary details, such as the name of your computer, the name of your windows profile written all over the log files (preferably replace it with "[redacted]"), your desktop and wallpaper.


    Look-up Table

    They're everywhere, in the wiki, in the optifine documentation, the vanilla shader documentation, but not for resource pack folder structures and files.

    Well, not an official one, as that would be redistribution of game assets, that Mojang has imbued into their Terms of Service.

    But you can find the table yourself, go to .minecraft/versions/, pick your version, and extract the assets/ folder, from the version's .jar file that can be opened like a .zip file, into the version folder outside the .jar file. (see picture below)

    There, you can look up everything that a resource pack can change for that version, and possibly make your pack cross-version compatible.

    If you want to go a step further, you can revoke your folder permissions to the assets/ folder and every folder below it.


    Editors and Encoding

    There're some editors for images and texts that should not be used because they encode the text in an unusable format, or don't support transparency.

    For texts, better to use coding programs specially made for programmers, like Visual Studio Code, or a more lightweight Notepad++.

    They both are free and can encode in UTF-8 without BOM, because BOM is put as the first most letter in any windows related text file, which can break the JSON format, as no letter is allowed to exist outside the root curly brackets {}.

    For image editing software, Paint.NET, GIMP, or Krita can be recommended, they can work with pixel artwork and support transparency.

    Software like Adobe Photoshop are less for minecraft textures and more for bigger projects, like a skybox texture.

    The window's default text editor and image editors just don't cut it. They can't encode in anything but UTF-8 with BOM and PNG without transparency.


    Indexes and Objects

    Minecraft has some files that're not directly accessible, like the aforementioned look-up table, they've to be dug up one by one from the .minecraft/assets/ folder, where the game can access them much faster.

    In the indexes/ folder, open the version of your choice, and with Ctrl+F, you can search for file names, such as the German language with "de_de.json", the enderdragon death sound with "enderdragon/end.ogg", and the panorama textures 0 to 5 with "panorama_#.png".

    The files have a common convention, the identifier is the file path starting in the namespace for a resource pack, where pack.mcmeta and the assets/ folder are, the object then contains the hash and the (file?) size. (in bits?)

    The first two letters of the hash describe the folder name inside the objects/ folder, and the hash is the file name.

    The file can then be copied to the desktop or preferably the look-up table, and rename it back to its original file name with its correct file extension, after which it can then be opened like any text/sound/texture file in their respective file viewer.

    Posted in: Resource Pack Help
  • 0

    posted a message on Zombie head is broken, can't really explain have to show pls help

    Did you change the zombie entity model itself?

    Because the zombie head uses that specific model part.

    Posted in: Resource Pack Help
  • 0

    posted a message on Variant textures for multipart blocks (walls, fences, etc.)

    Firstly, once you put more than just textures into your pack, it's no longer a Texture Pack, it becomes a Resource Pack.


    You did the randomization wrong. And the order of multipart and variant, as you can only use one of them in a model.

    It should look like this:

    {
      "multipart": [
        {"apply": [{"model":"example0","weight":15},{"model":"example1"},{"example2"}], "when":{"up":"true"}}
      ]
    }
    Posted in: Resource Pack Help
  • 0

    posted a message on Spawn Egg with an different mob in the EntityTag not getting rid of tint

    You make a custom model, or you shift the textures 2 layers up in the item model.

    Posted in: Resource Pack Help
  • 0

    posted a message on Invisible block under transparent 3D modeled block

    1. I believe that mod already exists, and 2. It's best to not change the cube.json model, as that's how you can change 90% of the block models in an instant.

    Posted in: Resource Pack Help
  • 0

    posted a message on Downloaded resource pack not working

    For some reason, the textures are set to up, down, north, south, east, and west, but the elements refer to 0-5 instead.

    Also, put those code blocks into spoiler, next time.

    Posted in: Resource Pack Help
  • 0

    posted a message on Custom emissive textures (mob)? Overlay situation

    Modpack? That's a vanilla texture.

    Posted in: Resource Pack Help
  • 0

    posted a message on Need Help with Texturing !

    Why not use the namespace ID introduced in 1.8?

    "minecraft:golden_apple" "minecraft:enchanted_golden_apple"

    Posted in: Resource Pack Help
  • 0

    posted a message on Custom emissive textures (mob)? Overlay situation

    There's an extra spider eyes texture that gets applied at night.

    Posted in: Resource Pack Help
  • 0

    posted a message on Stuck trying to replace vanilla music disks using ffmpeg

    I also can't search for it.

    I know that I did at least 5 posts with that general direction, but only 1 appears in the search.

    Likewise, I also looked into my threads, but I could only find posts of the last 30 days. (not like other forums show all of them)

    The posts I did find could indicate that it happened in 2020.

    Posted in: Resource Pack Help
  • 0

    posted a message on Stuck trying to replace vanilla music disks using ffmpeg

    Greatest Anime Betrayal ever.



    A year ago, someone had the same problem, I suggested converting it somehow, but you had the opinion that it is impossible, and you explained why.

    Now I'm the one in the wrong? Again? Even though this time I'm on the opposite of that argument. EDUCATED.

    Posted in: Resource Pack Help
  • 0

    posted a message on Stuck trying to replace vanilla music disks using ffmpeg

    There is no way to convert mp3 to ogg, only ogg to mp3.

    Ogg is a script that plays notes at specific times, whereas mp3 is a stream of instructions that don't include instrument, pitch, or length.

    Posted in: Resource Pack Help
  • 1

    posted a message on Custom Brewing Stand Coil in GUI (slight animation)

    I believe you will need to mod the game to do this, not even optifine will be able to help you in this one, you will need to mod that specific thing to make it look like what you want to do.

    Posted in: Resource Pack Help
  • 0

    posted a message on CIT for torch

    What is even the code?

    Information like that is what I asked for in the first comment.

    Posted in: Resource Pack Help
  • To post a comment, please .