mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-14 01:14:21 +00:00
Improve/refactoring (#15)
* Improve the code * Code improve in binnie.core.utils package * Code improve in binnie.core.triggers package * Code improve in binnie.core.resource package * Code improve in binnie.core.proxy package * Code improve readability in binnie.core package * Add missed constructors * Some improve code readabilty * Expand import with * * Revert "Expand import with *" This reverts commit 3bb4a44f3b69a8559bd5753337e0f6793ad18dc4. * Fix using fully qualified names in imports * Fix missed unnessesary "this." * Removed binnie.craftgui package Optimised imports and removed unnessesary "this." * Some refactoring code in binnie.core.craftgui package * Merge from master1.7.10 * Improve code readability in binnie.core.craftgui.database package * Improve code readability in binnie.core.craftgui.events package * Improve code readability in binnie.core.craftgui.geometry package * Improve code readability in binnie.core.craftgui.* package
This commit is contained in:
1 parent
a3c2360ba6
commit
f402cb155f
428 files changed
+9515
-10103
No files matched your search
@@ -60,27 +60,27 @@ public class Mods {
|
||||
}
|
||||
|
||||
public Item item(String name) {
|
||||
return findItem(this.id, name);
|
||||
return findItem(id, name);
|
||||
}
|
||||
|
||||
public Block block(String name) {
|
||||
return findBlock(this.id, name);
|
||||
return findBlock(id, name);
|
||||
}
|
||||
|
||||
public ItemStack stack(String name, int stackSize) {
|
||||
return findItemStack(this.id, name, stackSize);
|
||||
return findItemStack(id, name, stackSize);
|
||||
}
|
||||
|
||||
public ItemStack stack(String name) {
|
||||
return this.stack(name, 1);
|
||||
return stack(name, 1);
|
||||
}
|
||||
|
||||
public ItemStack stack(String string, int i, int j) {
|
||||
return new ItemStack(this.item(string), i, j);
|
||||
return new ItemStack(item(string), i, j);
|
||||
}
|
||||
|
||||
public boolean active() {
|
||||
return Loader.isModLoaded(this.id);
|
||||
return Loader.isModLoaded(id);
|
||||
}
|
||||
|
||||
public boolean dev() {
|
||||
|
||||
Reference in new issue
Block a user