<commit_before>package com.github.franckyi.wsc.util;

import com.github.franckyi.wsc.WSCMod;
import com.github.franckyi.wsc.capability.redstonecontroller.IRedstoneController;
import com.github.franckyi.wsc.capability.redstonecontroller.RedstoneController;
import com.github.franckyi.wsc.capability.redstonecontroller.RedstoneControllerStorage;
import com.github.franckyi.wsc.capability.redstonelink.IRedstoneLink;
import com.github.franckyi.wsc.capability.redstonelink.RedstoneLinkImpl;
import com.github.franckyi.wsc.capability.redstonelink.RedstoneLinkStorage;
import com.github.franckyi.wsc.capability.redstoneswitch.IRedstoneSwitch;
import com.github.franckyi.wsc.capability.redstoneswitch.RedstoneSwitchImpl;
import com.github.franckyi.wsc.capability.redstoneswitch.RedstoneSwitchStorage;
import com.github.franckyi.wsc.handlers.CapabilityHandler;
import com.github.franckyi.wsc.handlers.EventHandler;
import com.github.franckyi.wsc.handlers.GuiHandler;
import com.github.franckyi.wsc.handlers.PacketHandler;
import com.github.franckyi.wsc.init.ModBlocks;
import com.github.franckyi.wsc.init.ModItems;
import com.github.franckyi.wsc.network.RedstoneUnlinkingMessage;
import com.github.franckyi.wsc.network.UpdateRedstoneControllerMessage;
import com.github.franckyi.wsc.network.UpdateRedstoneSwitchMessage;
import com.github.franckyi.wsc.tileentity.TileEntityRedstoneController;
import com.github.franckyi.wsc.tileentity.TileEntityRedstoneSwitch;

import net.minecraft.block.Block;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.common.capabilities.CapabilityManager;
import net.minecraftforge.fml.common.network.NetworkRegistry;
import net.minecraftforge.fml.common.registry.ForgeRegistries;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.relauncher.Side;

public class RegisterUtil {

	public static void registerBlocks() {
		for (Block block : ModBlocks.BLOCKS) {
			final ItemBlock itemblock = new ItemBlock(block);
			itemblock.setRegistryName(block.getRegistryName());
			ForgeRegistries.BLOCKS.register(block);
			ForgeRegistries.ITEMS.register(itemblock);<commit_msg>Removed unused imports<commit_after>package com.github.franckyi.wsc.util;

import com.github.franckyi.wsc.WSCMod;
import com.github.franckyi.wsc.capability.redstonecontroller.IRedstoneController;
import com.github.franckyi.wsc.capability.redstonecontroller.RedstoneController;
import com.github.franckyi.wsc.capability.redstonecontroller.RedstoneControllerStorage;
import com.github.franckyi.wsc.capability.redstonelink.IRedstoneLink;
import com.github.franckyi.wsc.capability.redstonelink.RedstoneLinkImpl;
import com.github.franckyi.wsc.capability.redstonelink.RedstoneLinkStorage;
import com.github.franckyi.wsc.capability.redstoneswitch.IRedstoneSwitch;
import com.github.franckyi.wsc.capability.redstoneswitch.RedstoneSwitchImpl;
import com.github.franckyi.wsc.capability.redstoneswitch.RedstoneSwitchStorage;
import com.github.franckyi.wsc.handlers.CapabilityHandler;
import com.github.franckyi.wsc.handlers.EventHandler;
import com.github.franckyi.wsc.handlers.GuiHandler;
import com.github.franckyi.wsc.handlers.PacketHandler;
import com.github.franckyi.wsc.init.ModBlocks;
import com.github.franckyi.wsc.init.ModItems;
import com.github.franckyi.wsc.network.RedstoneUnlinkingMessage;
import com.github.franckyi.wsc.network.UpdateRedstoneControllerMessage;
import com.github.franckyi.wsc.network.UpdateRedstoneSwitchMessage;
import com.github.franckyi.wsc.tileentity.TileEntityRedstoneController;
import com.github.franckyi.wsc.tileentity.TileEntityRedstoneSwitch;

import net.minecraft.block.Block;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.common.capabilities.CapabilityManager;
import net.minecraftforge.fml.common.network.NetworkRegistry;
import net.minecraftforge.fml.common.registry.ForgeRegistries;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.relauncher.Side;

public class RegisterUtil {

	public static void registerBlocks() {
		for (Block block : ModBlocks.BLOCKS) {
			final ItemBlock itemblock = new ItemBlock(block);
			itemblock.setRegistryName(block.getRegistryName());
			ForgeRegistries.BLOCKS.register(block);
			ForgeRegistries.ITEMS.register(itemblock);
{'fraction_non_alphanumeric': 0.0974796917308894, 'fraction_numerical': 0.0, 'mean_word_length': 7.395104895104895, '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': '3138080', 'n_tokens_mistral': 1655, 'n_tokens_neox': 1595, 'n_words': 177}