#How to make a Recipe give a different object when mirrored

1 messages · Page 1 of 1 (latest)

agile violet
#

I have two items I want craftable (Blocks with different arrow directions) that have mirrored recipe's, but only the topmost alphabetically can be crafted by either recipe because of recipe mirroring, is there some way to get around this? Or deactivate mirroring for recipes?

shy void
#

As always, please show your work so we know what you mean by mirroring (the axis matters)

agile violet
#

Minecraft recipe's?

#

They mirror horizontally

#
  "type": "minecraft:crafting_shaped",
  "pattern": [
    "/#"
  ],
  "key": {
    "/": "minecraft:stick",
    "#": "minecraft:brick"
  },
  "result": {
    "id": "minecraft:stone"
  }
}```
#

So to make a stone with this recipe you can use /# or #/

#

How do I stop that

#

They don't mirror vertically so you can make recipe's that differentiate from up and down easily

open oyster
#

You cannot

brisk dragon
#

yes you can

#

just as spaces to the left

#

so

"/#"
]```
becomes
```[
"/# ",
]```
shy void
#

Does this actually work? I guess I have had too much trouble with 3 wide recipes not being able to be mirror images to notice it.

agile violet
#

No that doesn't seem to do it

#

I just tried

#

like just now

brisk dragon
#

huh does it not work, how :P I remember using it sometime in a modpack

#

maybe you have to add an air item?

agile violet
#

Naw that doesn't work eitehr

shy void
#

Directional recipes are pretty much a no-go

#

Left and right always allow for mirroring in a crafting menu.

You can't "fix" this without still breaking the behaviour of crafters etc.

#

The minecraft default for these types of blocks is to handle directions when placing them or by interacting with them after placing