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

@@ -11,7 +11,7 @@ import cpw.mods.fml.relauncher.SideOnly;
public class BinnieIcon extends BinnieResource {
private int textureSheet;
private final int textureSheet;
private IIcon icon;
public BinnieIcon(AbstractMod mod, ResourceType type, String path) {
@@ -7,7 +7,7 @@ import binnie.core.AbstractMod;
public class BinnieResource {
String mod;
private ResourceType type;
private final ResourceType type;
String path;
public BinnieResource(AbstractMod mod, ResourceType type, String path) {
@@ -11,7 +11,7 @@ import cpw.mods.fml.relauncher.SideOnly;
public class ManagerResource {
private List<BinnieIcon> icons;
private final List<BinnieIcon> icons;
public ManagerResource() {
icons = new ArrayList<>();
@@ -9,7 +9,7 @@ public enum ResourceType {
FX("fx"),
Entity("entities");
String name;
final String name;
ResourceType(String name) {
this.name = name;