Skip to content

FurnaceWorkbench getShape() does not account for FACING rotation #35

@coderabbitai

Description

@coderabbitai

Description

The getShape() method in FurnaceWorkbench.java currently does not account for the FACING block state property when returning collision/selection boxes. While the blockstate JSON applies Y-rotation (90°/180°/270°) to the visual model for EAST/SOUTH/WEST directions, the shapes remain aligned to the default orientation, causing misalignment between the visual model and the collision boxes for 3 of 4 facing directions.

Location

  • File: src/main/java/com/tcm/MineTale/block/workbenches/FurnaceWorkbench.java
  • Method: getShape() (lines 121-134)

Expected Behavior

The collision and selection boxes should rotate to match the visual model orientation based on the FACING property.

Related PR/Comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions