Fix broken block registration

This commit is contained in:
mezz committed 2016-03-09 23:56:15 -08:00
1 parent 0049d1e20d
commit eae8f719a7
4 files changed
+6 -4

No files matched your search

@@ -10,6 +10,7 @@
******************************************************************************/
package forestry.apiculture.items;
import net.minecraft.block.Block;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
@@ -21,7 +22,7 @@ import forestry.core.items.ItemBlockForestry;
public class ItemBlockCandle extends ItemBlockForestry<BlockCandle> {
public ItemBlockCandle(BlockCandle block) {
public ItemBlockCandle(Block block) {
super(block);
}
@@ -10,6 +10,7 @@
******************************************************************************/
package forestry.arboriculture.items;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
@@ -27,7 +28,7 @@ import forestry.core.utils.StringUtil;
public class ItemBlockLeaves extends ItemBlockForestry<BlockForestryLeaves> {
public ItemBlockLeaves(BlockForestryLeaves block) {
public ItemBlockLeaves(Block block) {
super(block);
}
@@ -19,7 +19,7 @@ import forestry.arboriculture.WoodHelper;
import forestry.core.items.ItemBlockForestry;
public class ItemBlockWood<B extends Block & IWoodTyped> extends ItemBlockForestry<B> {
public ItemBlockWood(B block) {
public ItemBlockWood(Block block) {
super(block);
}
@@ -25,7 +25,7 @@ import forestry.core.tiles.TileUtil;
public class ItemBlockForestry<B extends Block> extends ItemBlock {
public ItemBlockForestry(B block) {
public ItemBlockForestry(Block block) {
super(block);
setMaxDamage(0);
setHasSubtypes(true);