// Path: src/main/java/charcoalPit/core/Constants.java
// public class Constants {
// 	
// 	public static final String MODID="charcoal_pit";
// 	public static final String MODNAME="Charcoal Pit";
// 	public static final String MODVERSION="1.20";
// }
// 
// Path: src/main/java/charcoalPit/fluids/FluidsRegistry.java
// public class FluidsRegistry {
// 	
// 	public static Fluid Creosote;
// 	public static BlockFluidCreosote BlockCreosote;
// 	
// 	public static void registerFluids(){
// 		if(!FluidRegistry.isFluidRegistered("creosote")){
// 			Creosote=new FluidCreosote("creosote", new ResourceLocation(Constants.MODID, "blocks/creosote_still"), new ResourceLocation(Constants.MODID, "blocks/creosote_flow"));
// 			Creosote.setViscosity(2000);
// 			FluidRegistry.registerFluid(Creosote);
// 			FluidRegistry.addBucketForFluid(Creosote);
// 			BlockCreosote=new BlockFluidCreosote();
// 			Creosote.setBlock(BlockCreosote);
// 		}else{
// 			Creosote=FluidRegistry.getFluid("creosote");
// 			if(Creosote.getBlock()==null){
// 				BlockCreosote=new BlockFluidCreosote();
// 				Creosote.setBlock(BlockCreosote);
// 			}
// 		}
// 	}
// }


import charcoalPit.core.Constants;
import charcoalPit.fluids.FluidsRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.client.renderer.block.statemap.StateMapperBase;
import net.minecraft.item.EnumDyeColor;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.event.ModelRegistryEvent;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
	public static BlockActivePile activeCoalPile=new BlockActivePile(Material.ROCK, "active_coal_pile", true);
	public static BlockAshPile charcoalPile=new BlockAshPile("charcoal_pile", false);
	public static BlockAshPile cokePile=new BlockAshPile("coke_pile", true);
	public static BlockCreosoteCollector stoneCollector=new BlockCreosoteCollector("stone_creosote_collector", false);
	public static BlockCreosoteCollector brickCollector=new BlockCreosoteCollector("brick_creosote_collector", true);
	public static BlockCreosoteCollector netherCollector=new BlockCreosoteCollector("nether_creosote_collector", true);
	public static BlockPotteryKiln potteryKiln=new BlockPotteryKiln("pottery_kiln");
	public static BlockCeramicPot ceramicPot=new BlockCeramicPot("ceramic_pot");
	public static BlockClayPot clayPot=new BlockClayPot();
	public static BlockSmeltedPot brokenPot=new BlockSmeltedPot();
	public static BlockDyedPot[] dyedPot=new BlockDyedPot[16];
	public static BlockThatch thatch=new BlockThatch();
	public static BlockBloomeryHatch hatch=new BlockBloomeryHatch();
	public static BlockBronzeReinforcedBrick reinforcedBrick=new BlockBronzeReinforcedBrick();
	public static BlockBloomeryOreLayer oreLayer=new BlockBloomeryOreLayer();
	public static BlockBloom bloom=new BlockBloom();
	public static BlockCustomFurnace furnace=new BlockCustomFurnace();
	
	static{
		for(int i=0;i<16;i++){
			dyedPot[i]=new BlockDyedPot("dyed_pot", EnumDyeColor.byMetadata(i));
		}
	}
	
	@SubscribeEvent
	public static void registerBlocks(RegistryEvent.Register<Block> event){
		event.getRegistry().registerAll(logPile, cokeBlock, activeLogPile, activeCoalPile,
				charcoalPile, cokePile, stoneCollector, brickCollector, netherCollector, potteryKiln,
				ceramicPot, clayPot, brokenPot, thatch, hatch, reinforcedBrick, oreLayer, bloom, furnace);
		event.getRegistry().registerAll(dyedPot);
// Path: src/main/java/charcoalPit/core/Constants.java
// public class Constants {
// 	
// 	public static final String MODID="charcoal_pit";
// 	public static final String MODNAME="Charcoal Pit";
// 	public static final String MODVERSION="1.20";
// }
// 
// Path: src/main/java/charcoalPit/fluids/FluidsRegistry.java
// public class FluidsRegistry {
// 	
// 	public static Fluid Creosote;
// 	public static BlockFluidCreosote BlockCreosote;
// 	
// 	public static void registerFluids(){
// 		if(!FluidRegistry.isFluidRegistered("creosote")){
// 			Creosote=new FluidCreosote("creosote", new ResourceLocation(Constants.MODID, "blocks/creosote_still"), new ResourceLocation(Constants.MODID, "blocks/creosote_flow"));
// 			Creosote.setViscosity(2000);
// 			FluidRegistry.registerFluid(Creosote);
// 			FluidRegistry.addBucketForFluid(Creosote);
// 			BlockCreosote=new BlockFluidCreosote();
// 			Creosote.setBlock(BlockCreosote);
// 		}else{
// 			Creosote=FluidRegistry.getFluid("creosote");
// 			if(Creosote.getBlock()==null){
// 				BlockCreosote=new BlockFluidCreosote();
// 				Creosote.setBlock(BlockCreosote);
// 			}
// 		}
// 	}
// }


// Path: src/main/java/charcoalPit/blocks/BlocksRegistry.java
import charcoalPit.core.Constants;
import charcoalPit.fluids.FluidsRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.client.renderer.block.statemap.StateMapperBase;
import net.minecraft.item.EnumDyeColor;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.event.ModelRegistryEvent;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

	public static BlockActivePile activeCoalPile=new BlockActivePile(Material.ROCK, "active_coal_pile", true);
	public static BlockAshPile charcoalPile=new BlockAshPile("charcoal_pile", false);
	public static BlockAshPile cokePile=new BlockAshPile("coke_pile", true);
	public static BlockCreosoteCollector stoneCollector=new BlockCreosoteCollector("stone_creosote_collector", false);
	public static BlockCreosoteCollector brickCollector=new BlockCreosoteCollector("brick_creosote_collector", true);
	public static BlockCreosoteCollector netherCollector=new BlockCreosoteCollector("nether_creosote_collector", true);
	public static BlockPotteryKiln potteryKiln=new BlockPotteryKiln("pottery_kiln");
	public static BlockCeramicPot ceramicPot=new BlockCeramicPot("ceramic_pot");
	public static BlockClayPot clayPot=new BlockClayPot();
	public static BlockSmeltedPot brokenPot=new BlockSmeltedPot();
	public static BlockDyedPot[] dyedPot=new BlockDyedPot[16];
	public static BlockThatch thatch=new BlockThatch();
	public static BlockBloomeryHatch hatch=new BlockBloomeryHatch();
	public static BlockBronzeReinforcedBrick reinforcedBrick=new BlockBronzeReinforcedBrick();
	public static BlockBloomeryOreLayer oreLayer=new BlockBloomeryOreLayer();
	public static BlockBloom bloom=new BlockBloom();
	public static BlockCustomFurnace furnace=new BlockCustomFurnace();
	
	static{
		for(int i=0;i<16;i++){
			dyedPot[i]=new BlockDyedPot("dyed_pot", EnumDyeColor.byMetadata(i));
		}
	}
	
	@SubscribeEvent
	public static void registerBlocks(RegistryEvent.Register<Block> event){
		event.getRegistry().registerAll(logPile, cokeBlock, activeLogPile, activeCoalPile,
				charcoalPile, cokePile, stoneCollector, brickCollector, netherCollector, potteryKiln,
				ceramicPot, clayPot, brokenPot, thatch, hatch, reinforcedBrick, oreLayer, bloom, furnace);
		event.getRegistry().registerAll(dyedPot);
		if(FluidsRegistry.BlockCreosote!=null){