<commit_before>/*
 * Copyright (C) 2014 Evil-Co <http://wwww.evil-co.com>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.evilco.defense.common;

import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.entity.EntityList;
import org.evilco.defense.DefenseMod;
import org.evilco.defense.common.entity.SecurityBotEntity;
import org.evilco.defense.common.tile.generic.DefenseStationTileEntity;
import org.evilco.defense.common.tile.surveillance.SurveillanceCameraTileEntity;

/**
 * @author 		<NAME> <<EMAIL>>
 * @copyright		Copyright (C) 2014 Evil-Co <http://www.evil-co.org>
 */
public class CommonProxy {


	/**
	 * Registers all modification blocks.
	 */
	public void registerBlocks () {
		GameRegistry.registerBlock (DefenseBlock.DEFENSE_STATION, "defense_station");

		GameRegistry.registerBlock (DefenseBlock.SURVEILLANCE_CAMERA, "surveillance_camera_block");
	}

	/**
	 * Registers all modification entities.
	 */
	public void registerEntities () {
		// get unique identifiers
		int securityBotID = EntityRegistry.findGlobalUniqueEntityId (); // TODO: This will probably get removed in future versions of MC

		// register security bot
		EntityRegistry.registerGlobalEntityID (SecurityBotEntity.class, "securityBot", securityBotID);
		EntityRegistry.registerModEntity (SecurityBotEntity.class, "securityBot", securityBotID, DefenseMod.instance, 64, 1, true);
		EntityList.entityEggs.put (securityBotID, new EntityList.EntityEggInfo (securityBotID, 16777215, 16711680));
	}

	/**
	 * Registers all modification items.
	 */
	public void registerItems () {
		GameRegistry.registerItem (DefenseItem.GENERIC_WIRELESS_TUNER, "wireless_tuner");<commit_msg>Updated registrations to support the new item.<commit_after>/*
 * Copyright (C) 2014 Evil-Co <http://wwww.evil-co.com>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.evilco.defense.common;

import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.entity.EntityList;
import org.evilco.defense.DefenseMod;
import org.evilco.defense.common.entity.SecurityBotEntity;
import org.evilco.defense.common.tile.generic.DefenseStationTileEntity;
import org.evilco.defense.common.tile.surveillance.SurveillanceCameraTileEntity;

/**
 * @author 		<NAME> <<EMAIL>>
 * @copyright		Copyright (C) 2014 Evil-Co <http://www.evil-co.org>
 */
public class CommonProxy {


	/**
	 * Registers all modification blocks.
	 */
	public void registerBlocks () {
		GameRegistry.registerBlock (DefenseBlock.DEFENSE_STATION, "defense_station_block");

		GameRegistry.registerBlock (DefenseBlock.SURVEILLANCE_CAMERA, "surveillance_camera_block");
	}

	/**
	 * Registers all modification entities.
	 */
	public void registerEntities () {
		// get unique identifiers
		int securityBotID = EntityRegistry.findGlobalUniqueEntityId (); // TODO: This will probably get removed in future versions of MC

		// register security bot
		EntityRegistry.registerGlobalEntityID (SecurityBotEntity.class, "securityBot", securityBotID);
		EntityRegistry.registerModEntity (SecurityBotEntity.class, "securityBot", securityBotID, DefenseMod.instance, 64, 1, true);
		EntityList.entityEggs.put (securityBotID, new EntityList.EntityEggInfo (securityBotID, 16777215, 16711680));
	}

	/**
	 * Registers all modification items.
	 */
	public void registerItems () {
		GameRegistry.registerItem (DefenseItem.GENERIC_DEFENSE_STATION, "defense_station");
		GameRegistry.registerItem (DefenseItem.GENERIC_WIRELESS_TUNER, "wireless_tuner");
{'fraction_non_alphanumeric': 0.10071474983755685, 'fraction_numerical': 0.013428633311674248, 'mean_word_length': 4.882802547770701, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '2139072', 'n_tokens_mistral': 1440, 'n_tokens_neox': 1317, 'n_words': 370}