Minor cleanups (#50)

* Finalize, minor alloc reduction

Also enable Jabel and generic injection

* Update dependencies.gradle

* Clean up Machine a bit

* spotless

more enhanced instanceof

* Update ModuleMachine.java

* More clen

* WARN: Removed exception catching

* Many, many tiny patches + birthday fix

* Spotless

* Spotless again

* Fix getLow and clamp tolerance value

* Revert event -> ignored on unused event parameters

* Rename instanceof variables

* Update Machine.java

* Use StringBuilder

* Cache getStack()

* Oops, Jabel can't handle that

* Spotless

* Spotless again

My IDE was fighting with it

* Remove unused elements + scream test success
This commit is contained in:
ah-OOG-ah authored and GitHub committed 2024-09-26 16:59:20 +02:00
1 parent 6b4f3eb1c7
commit f0f14bb278
325 files changed
+1205 -1868

No files matched your search

@@ -95,17 +95,17 @@ public enum ExtraTreeFruitGene implements IAlleleFruit, IFruitProvider {
Gooseberry(8, 0xb99f50, 0xb9cf50, FruitSprite.Tiny),
GoldenRaspberry(8, 0xbeb03b, 0xf3b03b, FruitSprite.Tiny);
protected IFruitFamily family;
protected boolean isRipening;
protected int diffR;
protected int diffG;
protected int diffB;
protected FruitPod pod;
protected int ripeningPeriod;
protected int colorUnripe;
protected int color;
protected FruitSprite index;
protected HashMap<ItemStack, Float> products;
private IFruitFamily family;
private boolean isRipening;
private int diffR;
private int diffG;
private int diffB;
private final FruitPod pod;
private int ripeningPeriod;
private int colorUnripe;
private int color;
private FruitSprite index;
final HashMap<ItemStack, Float> products;
ExtraTreeFruitGene(int time, int unripe, int color, FruitSprite index) {
this.color = color;