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

@@ -54,11 +54,6 @@ public class SequencerComponentFX extends MachineComponent implements IRender.Ra
motionY = 0.0;
setAlphaF((float) Math.sin(3.14 * particleAge / particleMaxAge));
}
@Override
public int getFXLayer() {
return 0;
}
});
}
@@ -1,11 +1,8 @@
package binnie.genetics.machine.sequencer;
import net.minecraft.tileentity.TileEntity;
import binnie.Binnie;
import binnie.core.craftgui.minecraft.IMachineInformation;
import binnie.core.machines.Machine;
import binnie.core.machines.TileEntityMachine;
import binnie.core.machines.inventory.ComponentChargedSlots;
import binnie.core.machines.inventory.ComponentInventorySlots;
import binnie.core.machines.inventory.ComponentInventoryTransfer;
@@ -63,9 +60,4 @@ public class SequencerPackage extends PackageGeneticBase implements IMachineInfo
SequencerComponentLogic logic = new SequencerComponentLogic(machine);
transfer.setTransferListener(logic);
}
@Override
public TileEntity createTileEntity() {
return new TileEntityMachine(this);
}
}