mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 12:19:46 +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
@@ -27,7 +27,7 @@ import vazkii.botania.common.block.tile.TileEnderEye;
|
||||
import vazkii.botania.common.lexicon.LexiconData;
|
||||
import vazkii.botania.common.lib.LibBlockNames;
|
||||
|
||||
public class BlockEnderEye extends BlockModContainer implements ILexiconable {
|
||||
public class BlockEnderEye extends BlockMod implements ILexiconable {
|
||||
|
||||
protected BlockEnderEye() {
|
||||
super(Material.iron);
|
||||
@@ -64,7 +64,12 @@ public class BlockEnderEye 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 TileEnderEye();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user