Fix some things that went missing
This commit is contained in:
parent
348fee1e2a
commit
61c44a831b
14 changed files with 199 additions and 37 deletions
|
@ -12,6 +12,7 @@ import net.minecraft.block.Block;
|
|||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.EnumBlockRenderType;
|
||||
|
@ -41,7 +42,7 @@ import com.google.common.base.Strings;
|
|||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
public class BlockAltar extends Block implements IVariantProvider, IDocumentedBlock
|
||||
public class BlockAltar extends Block implements IVariantProvider, IDocumentedBlock, IBMBlock
|
||||
{
|
||||
public BlockAltar()
|
||||
{
|
||||
|
@ -204,4 +205,9 @@ public class BlockAltar extends Block implements IVariantProvider, IDocumentedBl
|
|||
|
||||
return docs;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemBlock getItem() {
|
||||
return new ItemBlock(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@ import net.minecraft.block.Block;
|
|||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.EnumBlockRenderType;
|
||||
|
@ -28,7 +29,7 @@ import WayofTime.bloodmagic.util.Utils;
|
|||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
public class BlockDemonCrucible extends Block implements IVariantProvider
|
||||
public class BlockDemonCrucible extends Block implements IVariantProvider, IBMBlock
|
||||
{
|
||||
public BlockDemonCrucible()
|
||||
{
|
||||
|
@ -118,4 +119,9 @@ public class BlockDemonCrucible extends Block implements IVariantProvider
|
|||
ret.add(new ImmutablePair<Integer, String>(0, "normal"));
|
||||
return ret;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemBlock getItem() {
|
||||
return new ItemBlock(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ import java.util.List;
|
|||
import net.minecraft.block.BlockContainer;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.EnumBlockRenderType;
|
||||
import net.minecraft.util.EnumFacing;
|
||||
|
@ -20,7 +21,7 @@ import WayofTime.bloodmagic.BloodMagic;
|
|||
import WayofTime.bloodmagic.client.IVariantProvider;
|
||||
import WayofTime.bloodmagic.tile.TileDemonCrystallizer;
|
||||
|
||||
public class BlockDemonCrystallizer extends BlockContainer implements IVariantProvider
|
||||
public class BlockDemonCrystallizer extends BlockContainer implements IVariantProvider, IBMBlock
|
||||
{
|
||||
public BlockDemonCrystallizer()
|
||||
{
|
||||
|
@ -84,4 +85,9 @@ public class BlockDemonCrystallizer extends BlockContainer implements IVariantPr
|
|||
ret.add(new ImmutablePair<Integer, String>(0, "normal"));
|
||||
return ret;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemBlock getItem() {
|
||||
return new ItemBlock(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ import java.util.List;
|
|||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.EnumBlockRenderType;
|
||||
import net.minecraft.util.math.AxisAlignedBB;
|
||||
|
@ -22,7 +23,7 @@ import WayofTime.bloodmagic.tile.TileIncenseAltar;
|
|||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
public class BlockIncenseAltar extends Block implements IVariantProvider
|
||||
public class BlockIncenseAltar extends Block implements IVariantProvider, IBMBlock
|
||||
{
|
||||
protected static final AxisAlignedBB AABB = new AxisAlignedBB(0.3F, 0F, 0.3F, 0.72F, 1F, 0.72F);
|
||||
|
||||
|
@ -101,4 +102,9 @@ public class BlockIncenseAltar extends Block implements IVariantProvider
|
|||
ret.add(new ImmutablePair<Integer, String>(0, "normal"));
|
||||
return ret;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemBlock getItem() {
|
||||
return new ItemBlock(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@ import net.minecraft.block.SoundType;
|
|||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.EnumBlockRenderType;
|
||||
import net.minecraft.util.EnumFacing;
|
||||
|
@ -27,7 +28,7 @@ import WayofTime.bloodmagic.tile.TileSoulForge;
|
|||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
public class BlockSoulForge extends Block implements IVariantProvider
|
||||
public class BlockSoulForge extends Block implements IVariantProvider, IBMBlock
|
||||
{
|
||||
protected static final AxisAlignedBB AABB = new AxisAlignedBB(0.06F, 0.0F, 0.06F, 0.94F, 0.75F, 0.94F);
|
||||
|
||||
|
@ -116,4 +117,9 @@ public class BlockSoulForge extends Block implements IVariantProvider
|
|||
ret.add(new ImmutablePair<Integer, String>(0, "normal"));
|
||||
return ret;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemBlock getItem() {
|
||||
return new ItemBlock(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@ import net.minecraft.block.BlockContainer;
|
|||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.EnumBlockRenderType;
|
||||
|
@ -24,7 +25,7 @@ import WayofTime.bloodmagic.client.IVariantProvider;
|
|||
import WayofTime.bloodmagic.item.ItemTelepositionFocus;
|
||||
import WayofTime.bloodmagic.tile.TileTeleposer;
|
||||
|
||||
public class BlockTeleposer extends BlockContainer implements IVariantProvider
|
||||
public class BlockTeleposer extends BlockContainer implements IVariantProvider, IBMBlock
|
||||
{
|
||||
public BlockTeleposer()
|
||||
{
|
||||
|
@ -78,4 +79,9 @@ public class BlockTeleposer extends BlockContainer implements IVariantProvider
|
|||
ret.add(new ImmutablePair<Integer, String>(0, "normal"));
|
||||
return ret;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemBlock getItem() {
|
||||
return new ItemBlock(this);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue