mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-18 19:39:12 +00:00
most of item/block will now compile
This commit is contained in:
1 parent
ad96fbfa61
commit
3bf37fa6a7
66 files changed
+282
-249
No files matched your search
@@ -3,6 +3,7 @@ package tconstruct.items.blocks;
|
||||
import java.util.List;
|
||||
|
||||
import mantle.blocks.abstracts.MultiItemBlock;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.StatCollector;
|
||||
@@ -12,9 +13,9 @@ public class SpeedSlabItem extends MultiItemBlock
|
||||
public static final String blockTypes[] = { "brownstone.rough", "brownstone.rough.road", "brownstone.smooth", "brownstone.smooth.brick", "brownstone.smooth.road",
|
||||
"brownstone.smooth.fancy", "brownstone.smooth.chiseled" };
|
||||
|
||||
public SpeedSlabItem(int id)
|
||||
public SpeedSlabItem(Block b)
|
||||
{
|
||||
super(id, "block", "slab", blockTypes);
|
||||
super(b, "block", "slab", blockTypes);
|
||||
setMaxDamage(0);
|
||||
setHasSubtypes(true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user