<commit_before>package com.teamwizardry.refraction.common.effect;

import com.google.common.base.Predicates;
import com.teamwizardry.refraction.api.Effect;
import com.teamwizardry.refraction.common.light.EffectTracker;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.init.Blocks;
import net.minecraft.inventory.IInventory;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EntitySelectors;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Vec3d;
import net.minecraft.world.World;

import java.awt.*;
import java.util.List;
import java.util.Set;

public class EffectBurn extends Effect {

	@Override
	public boolean hasCooldown() {
		return true;
	}

	@Override
	public double getMaxCooldown() {
		return potency == 0 ? 0 : 25500 / potency;
	}

	@Override
	public void run(World world, Set<BlockPos> locations) {
		for (BlockPos pos : locations) {
			TileEntity tile = world.getTileEntity(pos);
			if (tile != null && tile instanceof IInventory && !EffectTracker.burnedTileTracker.contains(pos))
				EffectTracker.burnedTileTracker.add(pos);
			else {
				if (potency >= 128) {<commit_msg>nerfed burn<commit_after>package com.teamwizardry.refraction.common.effect;

import com.google.common.base.Predicates;
import com.teamwizardry.refraction.api.Effect;
import com.teamwizardry.refraction.common.light.EffectTracker;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.init.Blocks;
import net.minecraft.inventory.IInventory;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EntitySelectors;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Vec3d;
import net.minecraft.world.World;

import java.awt.*;
import java.util.List;
import java.util.Set;

public class EffectBurn extends Effect {

	@Override
	public boolean hasCooldown() {
		return true;
	}

	@Override
	public double getMaxCooldown() {
		return potency == 0 ? 0 : 25500 / potency;
	}

	@Override
	public void run(World world, Set<BlockPos> locations) {
		for (BlockPos pos : locations) {
			TileEntity tile = world.getTileEntity(pos);
			if (tile != null && tile instanceof IInventory && !EffectTracker.burnedTileTracker.contains(pos))
				EffectTracker.burnedTileTracker.add(pos);
			else {
				if (potency >= 50) {
{'fraction_non_alphanumeric': 0.11039208222306814, 'fraction_numerical': 0.007993909402360106, 'mean_word_length': 5.2274881516587675, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5713154', 'n_tokens_mistral': 876, 'n_tokens_neox': 840, 'n_words': 171}