<commit_before>package com.magicbox.redio.blocks;

import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;

import com.magicbox.redio.common.Constants;
import com.magicbox.redio.entities.EntityScriptStorage;

import cpw.mods.fml.common.network.internal.FMLNetworkHandler;

public class BlockScriptStorage extends BlockBase
{
	public BlockScriptStorage(Material material)
	{
		super(material);

		setHardness(3.0f);
		setResistance(5.0f);
		setHarvestLevel("pickaxe", 1);

		setBlockName(Constants.ScriptStorage.BLOCK_NAME);
		setBlockTextureName(Constants.getTextureName(Constants.ScriptStorage.BLOCK_NAME));
	}

	@Override
	public int getTextureCount()
	{
		return 12;
	}

	@Override
	public boolean canPlaceBlockAt(World world, int x, int y, int z)
	{
		return true;// super.canPlaceBlockAt(world, x, y, z) &&
					// Utils.hasProcessorAround(world, x, y, z);
	}

	@Override
	public TileEntity createNewTileEntity(World world, int metadata)
	{<commit_msg>Fixed ScriptStorage placing bug since last commit.<commit_after>package com.magicbox.redio.blocks;

import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;

import com.magicbox.redio.common.Constants;
import com.magicbox.redio.common.Utils;
import com.magicbox.redio.entities.EntityScriptStorage;

import cpw.mods.fml.common.network.internal.FMLNetworkHandler;

public class BlockScriptStorage extends BlockBase
{
	public BlockScriptStorage(Material material)
	{
		super(material);

		setHardness(3.0f);
		setResistance(5.0f);
		setHarvestLevel("pickaxe", 1);

		setBlockName(Constants.ScriptStorage.BLOCK_NAME);
		setBlockTextureName(Constants.getTextureName(Constants.ScriptStorage.BLOCK_NAME));
	}

	@Override
	public int getTextureCount()
	{
		return 12;
	}

	@Override
	public boolean canPlaceBlockAt(World world, int x, int y, int z)
	{
		return super.canPlaceBlockAt(world, x, y, z) && Utils.hasProcessorAround(world, x, y, z);
	}

	@Override
	public TileEntity createNewTileEntity(World world, int metadata)
	{
{'fraction_non_alphanumeric': 0.10547759167043912, 'fraction_numerical': 0.006337709370755998, 'mean_word_length': 5.758409785932722, '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': '6269936', 'n_tokens_mistral': 751, 'n_tokens_neox': 715, 'n_words': 137}