<commit_before>package info.tregmine.boxfill;

import java.util.Arrays;
import java.util.logging.Logger;

import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.block.Block;
//import org.bukkit.block.BlockState;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.Event.Priority;
import org.bukkit.material.MaterialData;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitScheduler;

import info.tregmine.Tregmine; 
import info.tregmine.api.TregminePlayer;

public class BoxFill extends JavaPlugin {
	
	private static final Material[] disallowedMaterials = {
			Material.APPLE,	Material.ARROW,	Material.BED, Material.BED_BLOCK,
			Material.BOAT, Material.BONE, Material.BOOK, Material.BOW, Material.BOWL,
			Material.BREAD, Material.BROWN_MUSHROOM, Material.BUCKET, Material.BURNING_FURNACE,
			Material.CACTUS, Material.CAKE,	Material.CHEST,	Material.IRON_DOOR,	
			Material.IRON_DOOR_BLOCK, Material.MUSHROOM_SOUP, Material.RED_MUSHROOM,
			Material.YELLOW_FLOWER, Material.RED_ROSE, Material.SPONGE,	Material.SAPLING
		};
	
	private static int MAX_FILL_SIZE = (10 * 16) * (10 * 16) * 128; 
	
	// static initializer
	{
		Arrays.sort(disallowedMaterials);
	}
	
	public final Logger log = Logger.getLogger("Minecraft");
	public Tregmine tregmine = null;
	public final BoxFillBlockListener boxfillblockListener = new BoxFillBlockListener(this);
	
	//private List<BlockState> undo = null;
	private History undoHistory;
	private History copyHistory;

	public void onEnable() {<commit_msg>added a few more blocks to the blacklist<commit_after>package info.tregmine.boxfill;

import java.util.Arrays;
import java.util.logging.Logger;

import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.block.Block;
//import org.bukkit.block.BlockState;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.Event.Priority;
import org.bukkit.material.MaterialData;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitScheduler;

import info.tregmine.Tregmine; 
import info.tregmine.api.TregminePlayer;

public class BoxFill extends JavaPlugin {
	
	private static final Material[] disallowedMaterials = {
			Material.APPLE,
			Material.ARROW,
			Material.BED,
			Material.BED_BLOCK,
			Material.BOAT,
			Material.BONE,
			Material.BOOK,
			Material.BOW,
			Material.BOWL,
			Material.BREAD,
			Material.BROWN_MUSHROOM,
			Material.BUCKET,
			Material.BURNING_FURNACE,
			Material.CACTUS,
			Material.CAKE,
			Material.CHEST,
			Material.IRON_DOOR,	
			Material.IRON_DOOR_BLOCK,
			Material.MUSHROOM_SOUP,
			Material.RED_MUSHROOM,
			Material.YELLOW_FLOWER,
			Material.RED_ROSE,
			Material.SPONGE,
			Material.SAPLING,
			Material.BEDROCK,
			Material.CACTUS,
			Material.CLAY,
			Material.CLAY_BRICK,
			Material.COAL_ORE,
			Material.DIAMOND_ORE,
			Material.GOLD_ORE,
			Material.IRON_ORE,
			Material.LAPIS_ORE,
			Material.REDSTONE_ORE
		};
	
	private static int MAX_FILL_SIZE = (10 * 16) * (10 * 16) * 128; 
	
	// static initializer
	{
		Arrays.sort(disallowedMaterials);
	}
	
	public final Logger log = Logger.getLogger("Minecraft");
	public Tregmine tregmine = null;
	public final BoxFillBlockListener boxfillblockListener = new BoxFillBlockListener(this);
	
	//private List<BlockState> undo = null;
	private History undoHistory;
	private History copyHistory;

	public void onEnable() {
{'fraction_non_alphanumeric': 0.0988120950323974, 'fraction_numerical': 0.005939524838012959, 'mean_word_length': 4.771028037383178, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6531957', 'n_tokens_mistral': 1432, 'n_tokens_neox': 1270, 'n_words': 241}