Machines now return machine blocks unless wrenched
This commit is contained in:
parent
ca98fffe64
commit
3114dc9194
25 changed files with 277 additions and 3 deletions
|
@ -1,8 +1,13 @@
|
|||
package techreborn.blocks.machine;
|
||||
|
||||
import ic2.api.item.IC2Items;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.World;
|
||||
|
@ -66,5 +71,11 @@ public class BlockIndustrialSawmill extends BlockMachineBase {
|
|||
: (side == metadata ? this.iconFront : this.blockIcon));
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Item getItemDropped(int meta, Random random, int fortune)
|
||||
{
|
||||
return IC2Items.getItem("advancedMachine").getItem();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue