Initial push of the Inversion Pillars - this is before full implementation of features and before fixing the item model.
This commit is contained in:
parent
540e6941ef
commit
5c627d123c
10 changed files with 306 additions and 26 deletions
|
@ -5,7 +5,11 @@ import java.util.List;
|
|||
|
||||
import net.minecraft.block.SoundType;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.EnumBlockRenderType;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import org.apache.commons.lang3.tuple.ImmutablePair;
|
||||
|
@ -20,7 +24,7 @@ import WayofTime.bloodmagic.tile.TileInversionPillar;
|
|||
|
||||
public class BlockInversionPillar extends BlockStringContainer implements IVariantProvider
|
||||
{
|
||||
public static final String[] names = { "raw" };
|
||||
public static final String[] names = { "raw", "corrosive", "destructive", "vengeful", "steadfast" };
|
||||
|
||||
public BlockInversionPillar()
|
||||
{
|
||||
|
@ -34,6 +38,36 @@ public class BlockInversionPillar extends BlockStringContainer implements IVaria
|
|||
setHarvestLevel("pickaxe", 2);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isOpaqueCube(IBlockState state)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isNormalCube(IBlockState state, IBlockAccess world, BlockPos pos)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isFullCube(IBlockState state)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isVisuallyOpaque()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnumBlockRenderType getRenderType(IBlockState state)
|
||||
{
|
||||
return EnumBlockRenderType.MODEL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Pair<Integer, String>> getVariants()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue