/******************************************************************************* * AbyssalCraft * Copyright (c) 2012 - 2017 Shinoow. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v3 * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/lgpl-3.0.txt * * Contributors: * Shinoow - implementation ******************************************************************************/ package com.shinoow.abyssalcraft.common.blocks; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.util.math.AxisAlignedBB; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IBlockAccess; import com.shinoow.abyssalcraft.api.energy.EnergyEnum.AmplifierType; import com.shinoow.abyssalcraft.api.energy.IEnergyAmplifier; import com.shinoow.abyssalcraft.lib.ACTabs; public class BlockMonolithPillar extends BlockACBasic implements IEnergyAmplifier { public BlockMonolithPillar() { super(Material.ROCK, 6.0F, 24.0F, SoundType.STONE); setUnlocalizedName("monolithpillar"); setCreativeTab(ACTabs.tabDecoration); } @Override public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess par1World, BlockPos pos) { return new AxisAlignedBB(0.25F, 0.0F, 0.25F, 0.75F, 1.0F, 0.75F); } @Override public boolean isOpaqueCube(IBlockState state){ return false; } @Override public boolean isFullCube(IBlockState state) { return false; } @Override public AmplifierType getAmplifierType() { return AmplifierType.RANGE; } }