<commit_before>package mcjty.xnet.multiblock;

import com.google.common.collect.Lists;
import elec332.core.grid.capability.AbstractWorldGridHolder;
import mcjty.xnet.api.XNetAPI;
import mcmultipart.multipart.IMultipart;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumFacing;
import net.minecraft.world.World;

import javax.annotation.Nullable;
import java.util.Collection;
import java.util.List;

/**
 * Created by Elec332 on 6-3-2016.
 */
public class XNetWorldGridRegistry extends AbstractWorldGridHolder<XNetTileData, XNetSurroundings> {

    public XNetWorldGridRegistry(World world) {
        super(world);
        this.grids = Lists.newArrayList();
    }

    private List<XNetGrid> grids;

    @Override
    protected boolean isValidTile(TileEntity tile) {
        return tile.hasCapability(XNetAPI.XNET_CAPABILITY, null);
    }

    @Override<commit_msg>Awaiting fix<commit_after>package mcjty.xnet.multiblock;

import com.google.common.collect.Lists;
import elec332.core.grid.capability.AbstractWorldGridHolder;
import mcjty.xnet.api.XNetAPI;
import mcmultipart.multipart.IMultipart;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumFacing;
import net.minecraft.world.World;

import javax.annotation.Nullable;
import java.util.Collection;
import java.util.List;

/**
 * Created by Elec332 on 6-3-2016.
 */
public class XNetWorldGridRegistry extends AbstractWorldGridHolder<XNetTileData, XNetSurroundings> {

    public XNetWorldGridRegistry(World world) {
        super(world);
        this.grids = Lists.newArrayList();
    }

    private List<XNetGrid> grids;

    @Override
    protected boolean isValidTile(TileEntity tile) {
        return false;//tile.hasCapability(XNetAPI.XNET_CAPABILITY, null);
    }

    @Override
{'fraction_non_alphanumeric': 0.09746903607969844, 'fraction_numerical': 0.012924071082390954, 'mean_word_length': 4.596385542168675, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6015871', 'n_tokens_mistral': 611, 'n_tokens_neox': 586, 'n_words': 106}