mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +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
@@ -30,7 +30,7 @@ import vazkii.botania.common.block.tile.TileIncensePlate;
|
||||
import vazkii.botania.common.lexicon.LexiconData;
|
||||
import vazkii.botania.common.lib.LibBlockNames;
|
||||
|
||||
public class BlockIncensePlate extends BlockModContainer implements ILexiconable {
|
||||
public class BlockIncensePlate extends BlockMod implements ILexiconable {
|
||||
|
||||
protected BlockIncensePlate() {
|
||||
super(Material.wood);
|
||||
@@ -136,7 +136,12 @@ public class BlockIncensePlate 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 TileIncensePlate();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user