package xyz.brassgoggledcoders.modularutilities.modules.construction;

import java.util.LinkedHashMap;

import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ITickable;
import xyz.brassgoggledcoders.boilerplate.api.IDebuggable;

public class TileEntityLiquidConcrete extends TileEntity implements ITickable, IDebuggable { // TODO Find a better
																								// way...

	private int dryingTicks = 150;

	public void setDryingTicks(int dryingTicks) {
		this.dryingTicks = dryingTicks;
	}

	@Override
	public void update() {
		if(dryingTicks == 0) {
			getWorld().markTileEntityForRemoval(this);
			getWorld().setBlockState(getPos(), ConstructionModule.concrete.getDefaultState());
		}
		else {
			dryingTicks--;
		}
	}

	@Override
	public LinkedHashMap<String, String> getDebugStrings() {
		LinkedHashMap<String, String> map = new LinkedHashMap<String, String>();
		map.put("dryingTicks", String.valueOf(dryingTicks));
		return map;
	}
}

@@ -319,79 +319,33 @@
 able
-, IDebuggable %7B // TODO Find a better%0A%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09// way...
+ %7B // TODO Tick in block?
 %0A%0A%09p
@@ -693,224 +693,7 @@
 %7D%0A%09%7D
-%0A%0A%09@Override%0A%09public LinkedHashMap%3CString, String%3E getDebugStrings() %7B%0A%09%09LinkedHashMap%3CString, String%3E map = new LinkedHashMap%3CString, String%3E();%0A%09%09map.put(%22dryingTicks%22, String.valueOf(dryingTicks));%0A%09%09return map;%0A%09%7D
 %0A%7D%0A

Remove use of IDebuggable