Small Cleanup (#68)

Co-authored-by: Martin Robertz <[email protected]>
This commit is contained in:
glowredmanandMartin Robertz authored and GitHub committed 2025-01-13 00:13:56 -06:00
1 parent f5a21fe41e
commit e8fb04df37
196 files changed
+887 -543

No files matched your search

@@ -51,7 +51,7 @@ import vazkii.botania.common.lexicon.LexiconData;
import vazkii.botania.common.lib.LibBlockNames;
import cpw.mods.fml.common.registry.GameRegistry;
public class BlockPool extends BlockModContainer implements IWandHUD, IWandable, ILexiconable, ICraftAchievement {
public class BlockPool extends BlockModContainer<TilePool> implements IWandHUD, IWandable, ILexiconable, ICraftAchievement {
boolean lastFragile = false;
@@ -100,7 +100,7 @@ public class BlockPool extends BlockModContainer implements IWandHUD, IWandable,
@Override
public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune) {
ArrayList<ItemStack> drops = new ArrayList();
ArrayList<ItemStack> drops = new ArrayList<>();
if(!lastFragile)
drops.add(new ItemStack(this, 1, metadata));
@@ -117,7 +117,7 @@ public class BlockPool extends BlockModContainer implements IWandHUD, IWandable,
}
@Override
public TileEntity createNewTileEntity(World world, int meta) {
public TilePool createNewTileEntity(World world, int meta) {
return new TilePool();
}