<commit_before>package com.skelril.aurora.ic.ics;

import com.sk89q.commandbook.CommandBook;
import com.sk89q.craftbook.ChangedSign;
import com.sk89q.craftbook.circuits.ic.*;
import com.sk89q.craftbook.util.LocationUtil;
import org.bukkit.Location;
import org.bukkit.Server;
import org.bukkit.block.BlockFace;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Skeleton;

import java.util.logging.Logger;

/**
 * Created by Wyatt on 12/19/13.
 */
public class WitherSkeletonSpawner extends AbstractIC {

    private static final CommandBook inst = CommandBook.inst();
    private static final Logger log = inst.getLogger();
    private static final Server server = CommandBook.server();


    public WitherSkeletonSpawner(Server server, ChangedSign block, ICFactory factory) {

        super(server, block, factory);
    }

    @Override
    public String getTitle() {

        return "Wither Skel";
    }

    @Override
    public String getSignTitle() {

        return "WITHER SKEL";
    }

    @Override
    public void trigger(ChipState chip) {

        Location k = LocationUtil.getCenterOfBlock(LocationUtil.getNextFreeSpace(getBackBlock(), BlockFace.UP));
        Skeleton skeleton = (Skeleton) k.getWorld().spawnEntity(k, EntityType.SKELETON);
        skeleton.setSkeletonType(Skeleton.SkeletonType.WITHER);
    }

    public static class Factory extends AbstractICFactory implements RestrictedIC {

        public Factory(Server server) {

            super(server);
        }

        @Override
        public IC create(ChangedSign sign) {

            return new WitherSkeletonSpawner(getServer(), sign, this);
        }

        @Override
        public String getShortDescription() {

            return "Spawns Wither Skeletons.";
        }
<commit_msg>Gave the Wither Skeletons stone swords<commit_after>package com.skelril.aurora.ic.ics;

import com.sk89q.commandbook.CommandBook;
import com.sk89q.craftbook.ChangedSign;
import com.sk89q.craftbook.circuits.ic.*;
import com.sk89q.craftbook.util.LocationUtil;
import com.sk89q.worldedit.blocks.ItemID;
import org.bukkit.Location;
import org.bukkit.Server;
import org.bukkit.block.BlockFace;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Skeleton;
import org.bukkit.inventory.ItemStack;

import java.util.logging.Logger;

/**
 * Created by Wyatt on 12/19/13.
 */
public class WitherSkeletonSpawner extends AbstractIC {

    private static final CommandBook inst = CommandBook.inst();
    private static final Logger log = inst.getLogger();
    private static final Server server = CommandBook.server();


    public WitherSkeletonSpawner(Server server, ChangedSign block, ICFactory factory) {

        super(server, block, factory);
    }

    @Override
    public String getTitle() {

        return "Wither Skel";
    }

    @Override
    public String getSignTitle() {

        return "WITHER SKEL";
    }

    @Override
    public void trigger(ChipState chip) {

        Location k = LocationUtil.getCenterOfBlock(LocationUtil.getNextFreeSpace(getBackBlock(), BlockFace.UP));
        Skeleton skeleton = (Skeleton) k.getWorld().spawnEntity(k, EntityType.SKELETON);
        skeleton.setSkeletonType(Skeleton.SkeletonType.WITHER);
        skeleton.getEquipment().setItemInHand(new ItemStack(ItemID.STONE_SWORD));
    }

    public static class Factory extends AbstractICFactory implements RestrictedIC {

        public Factory(Server server) {

            super(server);
        }

        @Override
        public IC create(ChangedSign sign) {

            return new WitherSkeletonSpawner(getServer(), sign, this);
        }

        @Override
        public String getShortDescription() {

            return "Spawns Wither Skeletons.";
        }

{'fraction_non_alphanumeric': 0.09369994660971703, 'fraction_numerical': 0.00800854244527496, 'mean_word_length': 3.248299319727891, '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': '5831839', 'n_tokens_mistral': 1169, 'n_tokens_neox': 1078, 'n_words': 249}