Skip to content

fix(block): isFaceSturdy + cable noOcclusion (NEW-163..166, 183, 184)#60

Open
ximaks00-hue wants to merge 2 commits into
akki697222:dev-MC1.20from
ximaks00-hue:fix/new-163-166-block-face-sturdy
Open

fix(block): isFaceSturdy + cable noOcclusion (NEW-163..166, 183, 184)#60
ximaks00-hue wants to merge 2 commits into
akki697222:dev-MC1.20from
ximaks00-hue:fix/new-163-166-block-face-sturdy

Conversation

@ximaks00-hue

Copy link
Copy Markdown
Contributor

Summary

Port 1.12 isSideSolid rules to 1.20 isFaceSturdy: Screen/Rack display faces non-solid; NetSplitter/Transposer/Cable never solid; Assembler only UP/DOWN; cables registered with noOcclusion().

Test plan

  • Torches do not attach to screen face
  • Cables do not block skylight

…..166, NEW-183, NEW-184)

Port 1.12 isSideSolid semantics to MC 1.20 isFaceSturdy: Screen/Rack display faces are non-solid, NetSplitter/Transposer/Cable never solid, Assembler only on UP/DOWN. Register cables with noOcclusion() so they no longer block skylight like Original non-opaque cables.
…usion (MC 1.20.1 API)

isFaceSturdy is computed from BlockState cache in 1.20.1 and cannot be overridden on Block subclasses. Revert non-compiling overrides; retain noOcclusion registration for Cable (NEW-183) and Assembler matching Original isOpaqueCube=false.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants