<commit_before>package codechicken.translocator;

import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.oredict.OreDictionary;
import codechicken.lib.packet.PacketCustom;
import cpw.mods.fml.common.registry.GameRegistry;

import static codechicken.translocator.Translocator.*;

public class TranslocatorProxy
{
    public void init() {
        blockTranslocator = new BlockTranslocator();
        blockTranslocator.setBlockName("translocator").setCreativeTab(CreativeTabs.tabRedstone);
        blockCraftingGrid = new BlockCraftingGrid();
        blockCraftingGrid.setBlockTextureName("planks_oak");

        itemDiamondNugget = new Item()
                .setUnlocalizedName("translocator:diamondNugget").setTextureName("translocator:diamondNugget")
                .setCreativeTab(CreativeTabs.tabMaterials);

        GameRegistry.registerBlock(blockTranslocator, ItemTranslocator.class, "translocator");
        GameRegistry.registerBlock(blockCraftingGrid, "craftingGrid");
        MinecraftForge.EVENT_BUS.register(blockTranslocator);
        MinecraftForge.EVENT_BUS.register(blockCraftingGrid);

        OreDictionary.registerOre("diamondNugget", itemDiamondNugget);

        GameRegistry.registerTileEntity(TileItemTranslocator.class, "itemTranslocator");<commit_msg>Register diamond nugget item<commit_after>package codechicken.translocator;

import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.oredict.OreDictionary;
import codechicken.lib.packet.PacketCustom;
import cpw.mods.fml.common.registry.GameRegistry;

import static codechicken.translocator.Translocator.*;

public class TranslocatorProxy
{
    public void init() {
        blockTranslocator = new BlockTranslocator();
        blockTranslocator.setBlockName("translocator").setCreativeTab(CreativeTabs.tabRedstone);
        blockCraftingGrid = new BlockCraftingGrid();
        blockCraftingGrid.setBlockTextureName("planks_oak");

        itemDiamondNugget = new Item()
                .setUnlocalizedName("translocator:diamondNugget").setTextureName("translocator:diamondNugget")
                .setCreativeTab(CreativeTabs.tabMaterials);
        GameRegistry.registerItem(itemDiamondNugget, "diamondNugget");
        OreDictionary.registerOre("diamondNugget", itemDiamondNugget);

        GameRegistry.registerBlock(blockTranslocator, ItemTranslocator.class, "translocator");
        GameRegistry.registerBlock(blockCraftingGrid, "craftingGrid");
        MinecraftForge.EVENT_BUS.register(blockTranslocator);
        MinecraftForge.EVENT_BUS.register(blockCraftingGrid);

        GameRegistry.registerTileEntity(TileItemTranslocator.class, "itemTranslocator");
{'fraction_non_alphanumeric': 0.09234308248439041, 'fraction_numerical': 0.0, 'mean_word_length': 5.186991869918699, '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': '1557479', 'n_tokens_mistral': 921, 'n_tokens_neox': 902, 'n_words': 110}