mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 05:02:30 +00:00
Get rid of BlockContainer
This commit is contained in:
1 parent
19ed5877df
commit
3c5f588431
57 files changed
+347
-182
No files matched your search
@@ -34,7 +34,7 @@ import vazkii.botania.common.item.ModItems;
|
||||
import vazkii.botania.common.lexicon.LexiconData;
|
||||
import vazkii.botania.common.lib.LibBlockNames;
|
||||
|
||||
public class BlockSparkChanger extends BlockModContainer implements ILexiconable {
|
||||
public class BlockSparkChanger extends BlockMod implements ILexiconable {
|
||||
|
||||
Random random;
|
||||
|
||||
@@ -171,7 +171,12 @@ public class BlockSparkChanger extends BlockModContainer implements ILexiconable
|
||||
}
|
||||
|
||||
@Override
|
||||
public TileEntity createNewTileEntity(World world, int meta) {
|
||||
public boolean hasTileEntity(IBlockState state) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TileEntity createTileEntity(World world, IBlockState state) {
|
||||
return new TileSparkChanger();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user