mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
35 lines
766 B
Java
35 lines
766 B
Java
package com.hbm.blocks.generic;
|
|
|
|
import java.util.Random;
|
|
|
|
import com.hbm.blocks.ModBlocks;
|
|
|
|
import net.minecraft.block.BlockSlab;
|
|
import net.minecraft.block.material.Material;
|
|
import net.minecraft.init.Blocks;
|
|
import net.minecraft.item.Item;
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public class BlockPinkSlab extends BlockSlab {
|
|
|
|
public BlockPinkSlab(boolean bool, Material mat) {
|
|
super(bool, mat);
|
|
}
|
|
|
|
public Item getItemDropped(int i, Random rand, int j)
|
|
{
|
|
return Item.getItemFromBlock(ModBlocks.pink_slab);
|
|
}
|
|
|
|
protected ItemStack createStackedBlock(int i)
|
|
{
|
|
return new ItemStack(Item.getItemFromBlock(ModBlocks.pink_slab), 2, i & 7);
|
|
}
|
|
|
|
@Override
|
|
public String func_150002_b(int p_150002_1_) {
|
|
return null;
|
|
}
|
|
|
|
}
|