mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +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
@@ -37,7 +37,7 @@ import net.minecraftforge.fml.common.Optional;
|
||||
import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||
|
||||
@Optional.Interface(modid = "Thaumcraft", iface = "thaumcraft.api.crafting.IInfusionStabiliser", striprefs = true)
|
||||
public class BlockPylon extends BlockModContainer implements ILexiconable, IInfusionStabiliser {
|
||||
public class BlockPylon extends BlockMod implements ILexiconable, IInfusionStabiliser {
|
||||
|
||||
public BlockPylon() {
|
||||
super(Material.iron);
|
||||
@@ -117,7 +117,12 @@ public class BlockPylon extends BlockModContainer implements ILexiconable, IInfu
|
||||
}
|
||||
|
||||
@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 TilePylon();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user