<commit_before>package othlon.cherrypig.blocks;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.BlockSlab;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import othlon.cherrypig.CherryPig;

import java.util.List;
import java.util.Random;

/**
 * Created by Jen on 23/11/2014.
 */
public class CPCherrySlab extends BlockSlab {

    private IIcon face;

    public CPCherrySlab(boolean isDoubleSlab, Material material){
        super(isDoubleSlab, material);

        this.setHardness(2.0F);
        this.setResistance(5.0F);
        this.useNeighborBrightness = true;
        this.setStepSound(Block.soundTypeWood);
        this.setBlockName("cherrywoodplankslab");
        this.setCreativeTab(CherryPig.tabCherryPig);

    }

    @Override
    public void registerBlockIcons(IIconRegister thisdude){
        face = thisdude.registerIcon("cherrypig:cherrypig_planks");
    }

    @Override
    public IIcon getIcon(int side, int meta){ return face;}

    @Override
    public void getSubBlocks(Item p_149666_1_, CreativeTabs p_149666_2_, List p_149666_3_) {
        //noinspection unchecked
        p_149666_3_.add(new ItemStack(p_149666_1_, 1, 0));
    } //nope

    @Override
    //TODO:	   getItemDropped()
    public Item getItemDropped(int metadata, Random random, int fortune)
    {

            //TODO:		getItemForBlock()
            return Item.getItemFromBlock(this);
    }

    @Override
    //TODO:		  getFullSlabName()
    public String func_150002_b(int meta)
    {<commit_msg>syd push<commit_after>package othlon.cherrypig.blocks;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.BlockSlab;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import othlon.cherrypig.CherryPig;

import java.util.List;
import java.util.Random;

/**
 * Created by Jen on 23/11/2014.
 */
public class CPCherrySlab extends BlockSlab {

    private IIcon face;

    public CPCherrySlab(boolean isDoubleSlab, Material material){
        super(isDoubleSlab, material);

        this.setHardness(2.0F);
        this.setResistance(5.0F);
        this.useNeighborBrightness = true;
        this.setStepSound(Block.soundTypeWood);
        this.setBlockName("cherrywoodplankslab");
        this.setCreativeTab(CherryPig.tabCherryPig);

    }

    @Override
    public void registerBlockIcons(IIconRegister thisdude){
        face = thisdude.registerIcon("cherrypig:cherrypig_planks");
    }

    @Override
    public IIcon getIcon(int side, int meta){ return face;}

    @Override
    public void getSubBlocks(Item p_149666_1_, CreativeTabs p_149666_2_, List p_149666_3_) {
        //noinspection unchecked
        p_149666_3_.add(new ItemStack(p_149666_1_, 1, 0));
    } //nope

    @Override
    //TODO:	   getItemDropped()
    public Item getItemDropped(int metadata, Random random, int fortune)
    {
            //TODO:		getItemForBlock()
            return Item.getItemFromBlock(this);
    }

    @Override
    //TODO:		  getFullSlabName()
    public String func_150002_b(int meta)
    {
{'fraction_non_alphanumeric': 0.1001031991744066, 'fraction_numerical': 0.028379772961816305, 'mean_word_length': 3.6320191158900834, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5625229', 'n_tokens_mistral': 1380, 'n_tokens_neox': 1300, 'n_words': 235}