Cooking for Blockheads

Cooking for Blockheads

145M Downloads

Kitchen elements do not rotate properly when loaded from nbt

Silverminer007 opened this issue ยท 0 comments

commented

Minecraft Version

1.18.x

Mod Loader

Forge

Mod Loader Version

40.1.52

Mod Version

1.18.2-12.0.2 & Bakm 3.1.0+0

Describe the Issue

Blocks are expected to change their orientation when loaded from nbt, e.g. for structure creation. This problem first occurred when I tried to create a structure containing a kitchen, but for example the kitchen table was facing the wall, while before rotating it it was facing inwards.

How to reproduce it:

  1. download this datapack: rotation_test.zip
  2. create a new world and add the datapack in the world creation screen
  3. use /give @s minecraft:structure_block to get a structure block
  4. place a structure block anywhere and open its GUI
  5. type kitchen_table into the text field
  6. press DONE, open the GUI again and press DONE again
  7. open the GUI again and change the rotation at the bottom of the GUI and repeat step 6)

What is wrong?
The orientation of the kitchen block should change when you change the rotation of the nbt, but it always stays the same (in this case facing=east).

**Expected behaviour
The kitchen blocks should behave similarly to the Jack-O-Lanterns. Repeat step 5) to 7), but type jack:o_lantern in the text box

Logs

https://paste.ee/p/61r62

Do you use any performance-enhancing mods (e.g. OptiFine)?

No response