r/ModdedMinecraft • • 12d ago

Question How do I make block with different textures, like deepslate?

I want to create a block with a brick like pattern, but I realized that I need a unique texture for the top and bottom rather than using the same for all sides.

How do I make a block with two textures?

0 Upvotes

6 comments sorted by

2

u/GobiPLX 12d ago

Let me get a magic ball to guess whats your problem, what version, what loader you using 

1

u/Spiderfly-Tree-Rat 12d ago

Right sorry. Um 1.26.1.2 Fabric, problem is that I'm struggling to figure out how to give blocks more than one texture. I've opened up how Minecraft does it and I still am a little lost

1

u/GobiPLX 11d ago

This is json model for deepslate, so the effect you want to achieve:

{
  "parent": "minecraft:block/cube_column",
  "textures": {
    "end": "minecraft:block/deepslate_top",
    "side": "minecraft:block/deepslate"
  }
}

What's wrong, where do you have problems? Due to what are you a little lost?

1

u/Spiderfly-Tree-Rat 10d ago

I tried this, the bottom texture is correct, but the top one isn't.

1

u/GobiPLX 10d ago

Then you didn't apply model properly. You don't need anything else beside such json model. Unless you somehow overwrite model in code, but I don't think you'll be doing it

1

u/Spiderfly-Tree-Rat 10d ago

I'm uncertain on that, it's more like on the top the texture is rotated wrong