GregTechCEu / GregTech

GregTech CE 1.12 fork continuing progression and development
GNU Lesser General Public License v3.0
255 stars 176 forks source link

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

Closed xnossisx closed 2 weeks ago

xnossisx commented 2 weeks ago

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.

IntegerLimit commented 2 weeks ago

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?