Cooking for Blockheads

Cooking for Blockheads

154M Downloads

Replacing textures

Closed this issue ยท 4 comments

commented

I tried to create my own resource pack to use concrete for the texture and quartz for the counter tops, as I hate the weird terracotta colors.

Unfortunately, it only worked briefly and if I tried to dye it, it went back to terracotta and the counter top had a missing texture (I'm sure I did something wrong there).

Does the code override this back to a colored terracotta when dye is applied?

Thanks.

commented

Cooking for Blockheads uses regular models and the textures are supplied from them. It sounds like the problem lies within your resource pack.

commented

Yes, I'm sure it is on my side.

I extracted the block models from the jar file and modified the json for the cabinet.json like this:

  "textures": {
    "countertop": "minecraft:block/smooth_quartz",
    "texture": "minecraft:block/white_concrete",
    "particle": "minecraft:block/white_concrete",
    "foot": "minecraft:block/black_concrete",
    "backsplash": "minecraft:block/black_concrete",
    "handle": "cookingforblockheads:block/handle"
  },

Like I said, it worked on the undyed cabinet, except for the counter top that display a missing texture. Once I dyed it, however, it went back to the terracotta.

If you don't have time for this, I totally understand, and you are welcome to close it as such.

commented

Each color has its own models that would also need to be replaced:

https://github.com/TwelveIterationMods/CookingForBlockheads/tree/1.21.5/common/src/generated/resources/assets/cookingforblockheads/models/block

The reason the counter top was missing a texture is that the correct texture for smooth quartz is minecraft:block/quartz_block_bottom.

commented

Man. Sometimes, I'm just stupid. I swear I looked at all those files. I must have looked at black_fridge.json saw that it doesn't define the colored blocks and skipped the rest.

Sorry. Thanks for the help.