Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forge direction #1895

Merged
merged 2 commits into from Apr 23, 2023
Merged

Forge direction #1895

merged 2 commits into from Apr 23, 2023

Conversation

mitchej123
Copy link
Contributor

It's definitely right... don't worry about it.... cough.

@leagris Please take a look at any of the getTexture()/rendering changes you started on.

NOTE: Changes a bunch of public APIs; will require updating the addons, which should be up next now that this compiles.

Some MC APIs require int for directions/sides, in these cases the variables should be named ordinalSide or something similar to indicate they should NOT be a ForgeDirection

Also refactor the clusterfuck that was `getCoordinateScan`

Co-authored by: Jason Mitchell <mitchej@gmail.com>
Frame boxes needed their own implementation of getTexture with int connexion mask,
which is returning an error texture for the MetaTileEntity, because pipes (FrameBox
**is** a pipe) do use this method to return different textures based on connexion
status.
@Dream-Master Dream-Master merged commit 56f2269 into master Apr 23, 2023
2 checks passed
@Dream-Master Dream-Master deleted the ForgeDirection branch April 23, 2023 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants