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

Small access restriction change in order to create a fluid hatch subclass #2654

Merged
merged 1 commit into from
Nov 2, 2024

Conversation

xnossisx
Copy link
Contributor

@xnossisx xnossisx commented Nov 2, 2024

What

Allows a separate hatch subclass to be made for the GregTech-based rocketry mod. This class should be able to represent how filled a fuel tank is and determine its own capacity based on block structures.

Outcome

The methods and attributes of MetaTileEntityFluidHatch are now all protected, rather than private. Once this pull request is accepted, I will be able to move on with development of the mod.

@xnossisx xnossisx requested a review from a team as a code owner November 2, 2024 23:00
@bruberu bruberu added the type: refactor Suggestion to refactor a section of code label Nov 2, 2024
@bruberu bruberu merged commit cbb9118 into GregTechCEu:master Nov 2, 2024
3 of 4 checks passed
@IntegerLimit
Copy link
Contributor

IntegerLimit commented Nov 3, 2024

If this was done for fluid hatches specifically, shouldn't this also be done for item buses, to allow development of similar-ish features and/or mods in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: refactor Suggestion to refactor a section of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants