#Why Blockbench items doesn't work on 1.20.1+ versions?

54 messages · Page 1 of 1 (latest)

grizzled umbra
#

Why Blockbench items doesn't work on 1.20.1+ versions?

azure basaltBOT
#
Welcome to the help forum!

Please make sure to read #1029373817119838218 as it may answer your question!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.

ebon walrus
grizzled umbra
#

when i play 1.19.2 work everything but when i change on 1.20.1 the textures are bugging

#

@ebon walrus so i dont know what is problem

azure basaltBOT
# ebon walrus !faq texture-atlas
FAQ
Java: Texture Atlas

General Information:
The game creates a "texture atlas" (combination of all textures into one file) for block/item models.
For performance reasons as of Java 1.19.3 the game by default only loads textures from within textures/item and textures/block (and any folders within those two folders) into that atlas instead of reading through every model for the relevant textures.

_________________________

Making the game load from custom directories
If you want the game to add textures from other directories (that are still somewhere within the "textures" folder) to that atlas you will need to create a blocks.json file in YourPack/assets/minecraft/atlases:

Example blocks.json

{
    "sources": [
        {
            "type": "directory",
            "source": "custom",
            "prefix": "custom/"
        }
    ]
}```
This example would make the game add _all_ textures that are within `textures/custom` to the atlas. This **even** applies to images that are not used by your models, so keep your pack clean for better performance and smaller size!.

**_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_**

**Additional/more specific information**:
If you have several custom directories you can add several json objects in the "sources" list/array.
blocks.json's of different packs combine btw, so you don't need to worry that one pack will stop another pack from loading their textures.

Here is also an example pack from a Minecraft dev (boq) with some more specific examples (like only using the face part of the default pig texture instead of loading all entity textures or the whole pig texture): <https://cdn.discordapp.com/attachments/593812273164976166/1042452631743901756/sprites.zip>

The official blog post with the changes (you will have to scroll down quite a bit for the relevant information): <https://www.minecraft.net/en-us/article/minecraft-snapshot-22w46a>
grizzled umbra
#

this sprites.zip is not avaible

grizzled umbra
#

Can you help me on voicechat?

#

@ebon walrus sorry for a ping

ebon walrus
grizzled umbra
#

I create a folder in my resourse pack named atlases and i create a files with names and ending .json

#

files have this { "sources": [ { "type": "directory", "source": "custom", "prefix": "custom/" } ] }

#

On voicechat it's been easly bc i can give you my screen

#

My english it's not good

#

I cant give a screenshot bc my keyboard is strange

#

||@ebon walrus ||

ebon walrus
grizzled umbra
#

its been a 3 files its good or no

#

with a every names custom items

#

i do something wrong yes?

#

i create

#

assets/mnecraft/atlases/toporek.json

ebon walrus
#

Nothing else will work. The game is only looking for "blocks.json", cause that's the atlas that contains all textures for block and item textures.

grizzled umbra
#

so i must remove this files and create blocks.json?

#

I must do assets/minecraft/atlases/blocks.json?

#

@ebon walrus this items are already bugged

ebon walrus
grizzled umbra
#

yes

#

||@ebon walrus ||

ebon walrus
# grizzled umbra

that doesn't look like just a texture error
did you use Optifine (or other mods) in 1.19 and aren't doing so in newer versions?

grizzled umbra
#

i using optifine

#

That's why it says it was on the voice channel it's been easier to show you and you can show me

#

correct whats wrong

#

||@ebon walrus ||

ebon walrus
#

Then it's most likely this:

#

!faq invalid-names

azure basaltBOT
# ebon walrus !faq invalid-names
FAQ
Java: Invalid Names

Files/Folders nor reference to them are allowed to contain capital letters nor spaces.
Valid symobls are: a-z (lowercase only!) 0-9 / . _ and -

When changing a file's/folder's name, keep in mind that you also need to update all references (texture path in models, model paths in custom_model_data predicates etc.)
Disclaimer: Optifine used to allow those characters, but for a vanilla client the model will either be the error cube or it might even crash their game (depending on their specs).

grizzled umbra
#

Names is good

ebon walrus
#

!faq output-log

azure basaltBOT
# ebon walrus !faq output-log
FAQ
Java: Output Log

The output log will show you errors related to resource packs in Minecraft: Java Edition. Here is how you can enable it.
(PS: Optifine likes to hide vanilla errors/warnings for some weird reason, so always load the game up without it if you don't need it for your pack to work!)
If you don't understand the errors/warnings feel free to show and ask about them (in a help channel).

grizzled umbra
#

On feather i can't do it

#

When i play on 1.19.2 it's normally work but i change a 1.20.1 version it buggs

ebon walrus
#

only other thing I could think of is that you are defining the "parent" reference wrong

#

(leaving it empty would be correct, setting it to something like "iron_sword" would be wrong)

grizzled umbra
#

Wait a minute and i show you something

#

1.20.1

#

1.19.2

#

My brain not get it WHAT IS WRONG WITH THIS