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

Fracking Tower And Bedrock Oil Deposit #86

Open
wants to merge 2 commits into
base: Custom-1.12.2
Choose a base branch
from

Conversation

Ratainen
Copy link

Added Fracking Tower.
Added Fracking Solution.
Added Dead Plants and all the other polluted stuff, because of the tower.
Added Bedrock Oil Deposit
Took some duplicate code and put it to TileEntityOilDrillBase. (that was how it was done in the 1.7.10 version and my brain doesn't explode when the code looks more similiar to that, so that's pretty much the real reason for that.)

The tower will pollute the nearby environment by killing plants and all that stuff.
Bedrock oil deposit has that dead stuff over it on the ground so you can find it easier.

I'm not sure if the code is absolutely horrible (this is my second time of modding of any kind), but we'l see.

This is also second time making this this pull request, because I failed horribly making this first time.

BuildTools added 2 commits January 30, 2023 20:51
…e fracking tower. Added the bedrock oil deposit. There oily and dead dirt above the deposits on ground. Took some duplicate code from the oil drillers and made a class that has that, so no duplicate code (mostly, because then the 1.7.10 and 1.12.2 code look more similiar and my brain does not explode). Yes I know that I should have done multiple commits, but I learned about this commit thing only after I googled how to do pull requests when I had already done everything.
… if it is an bedrock oil deposit, the others don't need it, but it removes some duplicate code. Also changed the succ() to use byte instead of int, because it doesn't need it. (I made the thing that it tells is it bedrock oil deposit, so I just fixed my own mistake but...) Also removed the max depth from the fracking tower, so it can actually reach all way to the bedrock oil deposits.
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