// Path: src/main/java/charcoalPit/CharcoalPit.java
// @Mod(modid=Constants.MODID, name=Constants.MODNAME, version=Constants.MODVERSION, acceptedMinecraftVersions="[1.12, 1.13)", dependencies="before:quark;before:jei;after:thaumcraft")
// public class CharcoalPit {
// 	
// 	static{
// 		FluidRegistry.enableUniversalBucket();
// 	}
// 	
// 	@Mod.Instance
// 	public static CharcoalPit instance;
// 	
// 	@SidedProxy(clientSide="charcoalPit.core.ClientProxy",
// 			serverSide="charcoalPit.core.ServerProxy")
// 	public static CommonProxy proxy;
// 	
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent e){
// 		proxy.preInit(e);
// 	}
// 	@EventHandler
// 	public void init(FMLInitializationEvent e){
// 		proxy.init(e);
// 	}
// 	@EventHandler
// 	public void postInit(FMLPostInitializationEvent e){
// 		proxy.postInit(e);
// 	}
// }
// 
// Path: src/main/java/charcoalPit/tile/TileCeramicPot.java
// public class TileCeramicPot extends TileEntity{
// 	
// 	@CapabilityInject(IItemHandler.class)
// 	public static Capability<IItemHandler> ITEM=null;
// 	public CeramicItemHandler items;
// 	public TileCeramicPot() {
// 		items=new CeramicItemHandler(9);
// 	}
// 	
// 	@Override
// 	public NBTTagCompound writeToNBT(NBTTagCompound compound) {
// 		super.writeToNBT(compound);
// 		compound.setTag("items", items.serializeNBT());
// 		return compound;
// 	}
// 	
// 	@Override
// 	public void readFromNBT(NBTTagCompound compound) {
// 		super.readFromNBT(compound);
// 		items.deserializeNBT(compound.getCompoundTag("items"));
// 	}
// 	
// 	@Override
// 	public boolean hasCapability(Capability<?> capability, EnumFacing facing) {
// 		if(capability==ITEM){
// 			return true;
// 		}
// 		return super.hasCapability(capability, facing);
// 	}
// 	
// 	@SuppressWarnings("unchecked")
// 	@Override
// 	public <T> T getCapability(Capability<T> capability, EnumFacing facing) {
// 		if(capability==ITEM){
// 			return (T) items;
// 		}
// 		return super.getCapability(capability, facing);
// 	}
// 	
// 	public static class CeramicItemHandler extends FilteredItemHandler{
// 		
// 		public CeramicItemHandler(int size) {
// 			super(size);
// 		}
// 		
// 		@Override
// 		public boolean isItemValid(int slot, ItemStack stack) {
// 			if(stack.getItem() instanceof ItemBlock){
// 				if(((ItemBlock)stack.getItem()).getBlock() instanceof BlockCeramicPot||
// 						((ItemBlock)stack.getItem()).getBlock() instanceof BlockShulkerBox||
// 						((ItemBlock)stack.getItem()).getBlock() instanceof BlockClayPot||
// 						((ItemBlock)stack.getItem()).getBlock() instanceof BlockSmeltedPot){
// 					return false;
// 				}
// 			}
// 			return !MethodHelper.isItemBlackListed(stack);
// 		}
// 		
// 	}
// }


import java.util.List;
import charcoalPit.CharcoalPit;
import charcoalPit.tile.TileCeramicPot;
import net.minecraft.block.ITileEntityProvider;
import net.minecraft.block.material.EnumPushReaction;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumHand;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.items.ItemStackHandler;
	}
	
	@Override
	public boolean isFullCube(IBlockState state) {
		return false;
	}
	
	@Override
	public boolean isNormalCube(IBlockState state, IBlockAccess world, BlockPos pos) {
		return false;
	}
	
	@Override
	public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) {
		return AABB_POT;
	}
	
	@Override
	public EnumPushReaction getMobilityFlag(IBlockState state) {
		return EnumPushReaction.DESTROY;
	}
	
	@Override
	public void dropBlockAsItemWithChance(World worldIn, BlockPos pos, IBlockState state, float chance, int fortune) {
		
	}
	
	@Override
	public void breakBlock(World worldIn, BlockPos pos, IBlockState state) {
		TileEntity tileentity = worldIn.getTileEntity(pos);
// Path: src/main/java/charcoalPit/CharcoalPit.java
// @Mod(modid=Constants.MODID, name=Constants.MODNAME, version=Constants.MODVERSION, acceptedMinecraftVersions="[1.12, 1.13)", dependencies="before:quark;before:jei;after:thaumcraft")
// public class CharcoalPit {
// 	
// 	static{
// 		FluidRegistry.enableUniversalBucket();
// 	}
// 	
// 	@Mod.Instance
// 	public static CharcoalPit instance;
// 	
// 	@SidedProxy(clientSide="charcoalPit.core.ClientProxy",
// 			serverSide="charcoalPit.core.ServerProxy")
// 	public static CommonProxy proxy;
// 	
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent e){
// 		proxy.preInit(e);
// 	}
// 	@EventHandler
// 	public void init(FMLInitializationEvent e){
// 		proxy.init(e);
// 	}
// 	@EventHandler
// 	public void postInit(FMLPostInitializationEvent e){
// 		proxy.postInit(e);
// 	}
// }
// 
// Path: src/main/java/charcoalPit/tile/TileCeramicPot.java
// public class TileCeramicPot extends TileEntity{
// 	
// 	@CapabilityInject(IItemHandler.class)
// 	public static Capability<IItemHandler> ITEM=null;
// 	public CeramicItemHandler items;
// 	public TileCeramicPot() {
// 		items=new CeramicItemHandler(9);
// 	}
// 	
// 	@Override
// 	public NBTTagCompound writeToNBT(NBTTagCompound compound) {
// 		super.writeToNBT(compound);
// 		compound.setTag("items", items.serializeNBT());
// 		return compound;
// 	}
// 	
// 	@Override
// 	public void readFromNBT(NBTTagCompound compound) {
// 		super.readFromNBT(compound);
// 		items.deserializeNBT(compound.getCompoundTag("items"));
// 	}
// 	
// 	@Override
// 	public boolean hasCapability(Capability<?> capability, EnumFacing facing) {
// 		if(capability==ITEM){
// 			return true;
// 		}
// 		return super.hasCapability(capability, facing);
// 	}
// 	
// 	@SuppressWarnings("unchecked")
// 	@Override
// 	public <T> T getCapability(Capability<T> capability, EnumFacing facing) {
// 		if(capability==ITEM){
// 			return (T) items;
// 		}
// 		return super.getCapability(capability, facing);
// 	}
// 	
// 	public static class CeramicItemHandler extends FilteredItemHandler{
// 		
// 		public CeramicItemHandler(int size) {
// 			super(size);
// 		}
// 		
// 		@Override
// 		public boolean isItemValid(int slot, ItemStack stack) {
// 			if(stack.getItem() instanceof ItemBlock){
// 				if(((ItemBlock)stack.getItem()).getBlock() instanceof BlockCeramicPot||
// 						((ItemBlock)stack.getItem()).getBlock() instanceof BlockShulkerBox||
// 						((ItemBlock)stack.getItem()).getBlock() instanceof BlockClayPot||
// 						((ItemBlock)stack.getItem()).getBlock() instanceof BlockSmeltedPot){
// 					return false;
// 				}
// 			}
// 			return !MethodHelper.isItemBlackListed(stack);
// 		}
// 		
// 	}
// }


// Path: src/main/java/charcoalPit/blocks/BlockCeramicPot.java
import java.util.List;
import charcoalPit.CharcoalPit;
import charcoalPit.tile.TileCeramicPot;
import net.minecraft.block.ITileEntityProvider;
import net.minecraft.block.material.EnumPushReaction;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumHand;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.items.ItemStackHandler;

	}
	
	@Override
	public boolean isFullCube(IBlockState state) {
		return false;
	}
	
	@Override
	public boolean isNormalCube(IBlockState state, IBlockAccess world, BlockPos pos) {
		return false;
	}
	
	@Override
	public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) {
		return AABB_POT;
	}
	
	@Override
	public EnumPushReaction getMobilityFlag(IBlockState state) {
		return EnumPushReaction.DESTROY;
	}
	
	@Override
	public void dropBlockAsItemWithChance(World worldIn, BlockPos pos, IBlockState state, float chance, int fortune) {
		
	}
	
	@Override
	public void breakBlock(World worldIn, BlockPos pos, IBlockState state) {
		TileEntity tileentity = worldIn.getTileEntity(pos);
        if (tileentity instanceof TileCeramicPot)