Age | Commit message (Collapse) | Author |
|
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9717
|
|
Normalise indent chars, layout,
Remove redundant casts, use diamond operators.
Optimize and sort imports
Sort member variables by attributes
Remove redundant switch case
static final text constants
simplify conditions
replace repeated inline code with iteration
add missing @SideOnly(Side.CLIENT) prevents accidental server crashes
|
|
|
|
|
|
* Fix ore particles
* simplify getIcon methods
* Fix spacing, fix accidental renaming of args
|
|
* Fixes slime spawn handling variances
After testing, I was able to see 2 separate problems.
1: event.getResult() was occasionally returning ALLOW for some of the world spawned slimes. Slime spawn denial is done regardless of the ALLOW/DENY flag. This does not impact slimes spawned via eggs or powered spawners or slimes spawning after a slime is killed which apparently return DEFAULT for getResult().
2: Slimes don't seem to properly handle a getResult() value of DENY. The checkSpawn event is not cancellable. To fix this, the entity is also destroyed by setting isDead to true. This does occasionally cause slimes to appear on the minimap briefly before disappearing.
Lastly, with a forge update this could be handled much better by using the EntitySlime.spawnReason enum. That is not present in the current forge version, so I would consider this a temporary workaround and this method could/should be reworked if/when forge is updated.
* Make repellators stop slimes.
While testing, this was used to name the slimes as they were being generated. It turns out to also make the slimes behave properly in addition to the other changes.
* Minor Cleanup
Moved the slime handling out of the rest of the method and takes an approach of setting it to DEFAULT of it is ALLOW and then also adding a custom name tag if it doesn't have one. If it does have a custom name tag and ALLOW, then the slime spawn will be allowed.
|
|
|
|
Rendered erroneously is bad, but crashing outright is even worse.
|
|
|
|
* Add CPU wafer craft from Americium and europium wafers
* Change crafttime of CPU wafers
* Change Ram recipes to encourage use of better wafers
* Change SoC wafer recipe to encourage use of better wafer
* Buff Americium CPu recipe output
* Change AsoC wafer recipe time to encourage use of better wafers
* Change NPIC time
* fix what dream requested
im too stupid sometimes help me
|
|
* Whitelist for Advanced Boilers
- Added a whitelist system to check allowed fuels for the Titanium and Tungstensteel Boilers (thanks glow for the code);
- Removed fuel value checks for the advanced boilers, none are needed because the whitelist check does it all;
- Changed the boiler tooltip to clarify that the advanced boilers won't work if there is a fuel in the input bus that is not allowed to be burned.
* NEI Large Boiler Tab Updated
- Changed the burn times to reflect the speed at which the boilers now consume fuels;
- Changed the TItanium and Tungstensteel Boiler info to display "Not Allowed" on the fuels that aren't accepted by them.
* Re-added Previous Constructor as a Default Case
- Implemented the previous addRecipe constructor without the boolean, applying to all non-solid fuels, with a default value;
- Changed the boiler code to make the advanced Boilers ignore the fluid recipes (they're only supposed to burn the allowed solid fuels);
- Small NEI clarifications.
* Unnecessary Burn Time Calculation
- Removed the burn time calculation on the NEI handler for the fuels that can't run in the advanced boilers.
* Shortened Tungstensteel Boiler Line
- Made text shorter to not overflow past the NEI display.
* Properly implement solid fuel whitelist for Large Titanium/Tungsten Boilers
Co-authored-by: glowredman <fredcraft00@gmail.com>
|
|
* Update zh_CN.lang
* Update zh_CN.lang
Co-authored-by: [Kiwi233] <[huaxia0611@qq.com]>
|
|
* Provide a runtime solution for number rendering.
This should adapt based on locale selected by user instead of the system locale.
Also fixes 'nbsp' issue in some locales like pl_PL.
* Add missing imports
* Add missing imports
|
|
* Texture Shenanigans
- Get rid of all the TODOs and run everything through the new Texture API in a backwards compatible way.
* allow bw runclient to run
* Add obf name
Co-authored-by: bombcar <github@bombcar.com>
|
|
|
|
* Translation related fixes
* Rename trans to transItem
|
|
and not specific class names
|
|
|
|
|
|
* Changed DT Water Distillation Recipe
- Changed input and output values to match, and rounded them up to a round number.
* Changed Values to 1000L
- Changed input and output to 1 bucket, about 4 times what they were before, and doubled both the duration and EU/t cost.
* Changed EU/t to Allow Some Loss in MV
|
|
* Add IntelliJ .shelf folder to .gitignore
* Fixing GT_GuiTooltip bug I introduced
* Deprecated superfluous String trans methods.
* Add Power class to compute and describe power usage
* trans -> GT_Utility.trans
Removed absent param from Javadoc
* Add Power to BasicMachine and use it for power calculations
* Steam BasicMachine rework
Have Bronze and Steel tier override Power with appropriate SteamPower
Make Bronze machines explicitly tier 1
Make Steel machines explicitly tier 2
Defined recipe list and bricked status for each machine
Unified checkRecipe uses machine's recipe list and Power
* Raised NEI dependency to 2.2.5
* Defining NEI transfer rect in individual UIs
Using a new interface called from GT_RectHandler
* Code cleanup & minor refactor
* Add power field to NEI Default Handler
Add method to create Power object from the recipe map
* Display power tier in NEI handler name
* User Power to draw NEI Handler description
* Enable filtering handler recipes using Power
* Repurposing aBricked parameter into aHighPressure
To fix my previous faulty method of setting mTier
* Must call getCache to get recipes properly.
* Better communicate NEI Overclock info
|
|
- Added a recipe to pulverize Cobweb to String, at a 1:1 ration until HV Macerator, where there's a 50% chance to get one more.
|
|
* Add input bus like sorting to chest and super buffers
* Remove unused import
|
|
|
|
|
|
|
|
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9631
remove smale pile cobalt brass recipe
|
|
proper. (#907)
|
|
|
|
* Add LV and MV muffler recipes to assembler
* Add LV and MV muffler recipes to assembler
|
|
Update deps
|
|
* New circuits
* Fix last tier ore dict
* Colorfull tier tooltips (#898)
* Make Repellator stop slimes spawning (#896)
* Add special tooltip handling, requested by Colen
Co-authored-by: Alkalus <3060479+draknyte1@users.noreply.github.com>
Co-authored-by: glowredman <fredcraft00@gmail.com>
* Fixed github shenanigans with new tier colours.
* Update A LOT of textures (mostly minor)
* Remove extraneous comments.
* Remove obsolete comments and update materials.java.
* Add tooltips for all batteries in base GT.
* Remove test case
Co-authored-by: Alkalus <3060479+draknyte1@users.noreply.github.com>
Co-authored-by: glowredman <fredcraft00@gmail.com>
|
|
* Add new xSMDs and xSMD wraps.
* Add new xSMDs and xSMD wraps.
|
|
|
|
* Backported gregicality textures for UIV, UMV, UXV and MAX parts and remove OpV tier parts. None of these parts are used for anything currently but at least they aren't just carbon copies of UEV anymore.
* Backported gregicality textures for UIV, UMV, UXV and MAX parts and remove OpV tier parts. None of these parts are used for anything currently but at least they aren't just carbon copies of UEV anymore.
|
|
* New circuits
* Fix last tier ore dict
* Colorfull tier tooltips (#898)
* Make Repellator stop slimes spawning (#896)
* Add special tooltip handling, requested by Colen
Co-authored-by: Alkalus <3060479+draknyte1@users.noreply.github.com>
Co-authored-by: glowredman <fredcraft00@gmail.com>
Co-authored-by: Alkalus <3060479+draknyte1@users.noreply.github.com>
Co-authored-by: glowredman <fredcraft00@gmail.com>
|
|
|
|
Fix https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9574
|
|
|
|
|
|
* initial work on facade covers
* fix colorMultiplier
also removed derp
* Clean up drop cover texture reset code
What was I thinking actually? Send a packet to reset client states?
* Fix cover display stack
|
|
- some cleanup
|
|
- Changed the Charcoal fluid extraction recipe to run 4x faster, but take roughly the same amount of power;
- Changed the outputs of the Wood Tar distillation to give slightly more useful outputs (Benzene, Toluene, Phenol) and less waste (Creosote, Dimethylbenzene until IV).
|
|
|
|
|
|
- Buffed the Oil Cracker to consume less hydrogen than the LCR when hydro-cracking, and to output even more cracked fluid when steam-cracking. These buffs should make it worth to build right away compared to an LCR;
- Increased the EU/t reduction from 5% to 10%, but with a limit of 50%, to give more value to early coil upgrades. Since oil setups like this aren't used at late tiers, it's more important to focus on the first tiers of coils;
- Reworked the recipe time/energy cost. All recipes are now HV, matching the tier of the multi, but stay at 240 EU/t and run faster;
Regarding Anti-Knock Agent:
- Buffed the DT recipe to output more Anti-Knock Agent than the equivalent LCR recipe, and also reduced the total energy cost of the recipe. This recipe is part of a cycle between a Mixer and the DT, but the LCR does it it one step with perfect overclocking and without needing the height that the DT requires to do the recipe, which goes against the point of needing to distill to get Anti-Knock Agent.
|
|
* Large Boiler Rebalance
- Changed Large Steel Boiler to output 1000 instead of 600 EU/t.
- Changed Large Titanium Boiler to output 6000 instead of 800 EU/t.
- Changed Large Titanium Boiler to output 6000 instead of 800 EU/t.
- Changed Large Tungstensteel Boiler to output 18750 instead of 1000 EU/t.
- Changed Titanium and Tungstensteel Boilers to output Superheated Steam instead of regular Steam.
- Added an upper bound for the burn value that can be processed by the boilers, in order to prevent an overflow.
- Added a lower bound for the burn value that can be processed by the boilers. This is a placeholder limitation intended to prevent the player from using the improved Titanium and Tungstensteel boilers to generate lots of power from easy solid fuels like Charcoal. A better way to implement this would be to make a whitelist of accepted fuels. The one I had in mind for these boilers was the Super Fuels, both the magic and non-magic ones.
The last two boilers had terrible numbers for their tier. High numbers would allow for charcoal powergen up to IV or LuV, though, so the better boilers should only accept solid fuels that are difficult to make and need a processing chain.
* Fuel Check, Water to Steam and Tooltip Fixes
- Changed the Titanium and Tungstensteel Boilers to only consume the Super Fuels. They are checking for their burn values, which are unique - this is a hotfix, this should be implemented as a whitelist that can be changed in the config file, but I do not know how to do this;
- Changed the code in the tooltips to differentiate between the two types of boilers without copypasting;
- Changed the water consumption when producing Superheated Steam, to maintain the amount of Distilled Water.
* Powergen Rebalance 1
- Changed Titanium Boiler from 6000 to 4000 EU/t;
- Changed Tungstensteel Boiler from 18750 to 16000 EU/t.
* ECE and Fuel Rebalance
- Changed Biodiesel fuel value from 256k to 320k EU;
- Changed Benzene fuel value from 288k to 360k EU;
- Changed Cetane-Boosted Diesel fuel value from 720k to 1M EU;
- Changed High Octane Gasoline fuel value from 1.728M to 2.5M EU;
- Changed the recipe of Biodiesel to CBD to output 900L instead of 750L per 1000L of Biodiesel, to account for the fuel value change;
- Reduced the LOX consumption of the ECE from 320 to 80 L/s. A quad Vacuum Freezer setup, with 3 HV and 1 EV can feed one ECE;
- Small changes to the EU/t of the ECE due to it all being coded with ints in a specific format, where doubles caused several rounding errors. The boosted output amount is very similar to how it was before;
- Added a condition to the LCE to not burn HOG if it does not have Oxygen to boost it, since it generated power without consuming any fuel due to its consumption being smaller than 1 L/t, and therefore rounded down to 0.
|
|
is... :)
|
|
* Large Boiler Rebalance
- Changed Large Steel Boiler to output 1000 instead of 600 EU/t.
- Changed Large Titanium Boiler to output 6000 instead of 800 EU/t.
- Changed Large Titanium Boiler to output 6000 instead of 800 EU/t.
- Changed Large Tungstensteel Boiler to output 18750 instead of 1000 EU/t.
- Changed Titanium and Tungstensteel Boilers to output Superheated Steam instead of regular Steam.
- Added an upper bound for the burn value that can be processed by the boilers, in order to prevent an overflow.
- Added a lower bound for the burn value that can be processed by the boilers. This is a placeholder limitation intended to prevent the player from using the improved Titanium and Tungstensteel boilers to generate lots of power from easy solid fuels like Charcoal. A better way to implement this would be to make a whitelist of accepted fuels. The one I had in mind for these boilers was the Super Fuels, both the magic and non-magic ones.
The last two boilers had terrible numbers for their tier. High numbers would allow for charcoal powergen up to IV or LuV, though, so the better boilers should only accept solid fuels that are difficult to make and need a processing chain.
* Fuel Check, Water to Steam and Tooltip Fixes
- Changed the Titanium and Tungstensteel Boilers to only consume the Super Fuels. They are checking for their burn values, which are unique - this is a hotfix, this should be implemented as a whitelist that can be changed in the config file, but I do not know how to do this;
- Changed the code in the tooltips to differentiate between the two types of boilers without copypasting;
- Changed the water consumption when producing Superheated Steam, to maintain the amount of Distilled Water.
* Powergen Rebalance 1
- Changed Titanium Boiler from 6000 to 4000 EU/t;
- Changed Tungstensteel Boiler from 18750 to 16000 EU/t.
|
|
* Allow toolbox usage for maintenance w/o opening GUI
(Also resolves https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9044)
* make AE dependency optional again
|