Skip to content

Refactor item pipe model texture lookup - #45

Open
alcox233 wants to merge 1 commit into
gtofrom
refactor/item-pipe-values
Open

Refactor item pipe model texture lookup#45
alcox233 wants to merge 1 commit into
gtofrom
refactor/item-pipe-values

Conversation

@alcox233

@alcox233 alcox233 commented Jun 9, 2026

Copy link
Copy Markdown

Summary

  • reuse ItemPipeType.VALUES when mapping restrictive pipe textures to base pipe textures
  • avoid enum values() array cloning inside model texture lambdas
  • add a regression script for the cached lookup

Test Plan

  • powershell -ExecutionPolicy Bypass -File scripts/regression/item_pipe_values.ps1
  • git diff --check
  • ./gradlew.bat compileJava --no-daemon --console=plain

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.

1 participant