This commit is contained in:
DarkGuardsman 2013-09-20 12:04:05 -04:00
parent 9acf6be8b2
commit 77bcc598ab
2 changed files with 7 additions and 6 deletions

View file

@ -11,18 +11,19 @@ import net.minecraft.util.Icon;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import dark.core.common.DarkMain;
import dark.core.prefab.ModPrefab;
import dark.farmtech.FarmTech;
/** Generic block set containing farm blocks: mulch, fertilizer, fertile dirt, mud
*
*
* mulch/fertilizer -> fertileDirt -> mud -> dirt
*
*
* @mulch is a decor version of fertilizer made from wood. decays very slowly when actually used for
* crops. Design is to be used with small plant for decor
*
*
* @fertilizer enriches the soil and is used to grow crops faster fertilizer can be created from
* anything using several means
*
*
* @author darkguardsman */
public class BlockFarmSoil extends Block
{
@ -30,7 +31,7 @@ public class BlockFarmSoil extends Block
public BlockFarmSoil()
{
super(FarmTech.CONFIGURATION.getBlock("FarmSoil", DarkMain.getNextID()).getInt(), Material.clay);
super(FarmTech.CONFIGURATION.getBlock("FarmSoil", ModPrefab.getNextID()).getInt(), Material.clay);
this.setUnlocalizedName("FarmBlock");
this.setCreativeTab(FarmTech.TabFarmTech);
}

View file

@ -12,7 +12,7 @@ import dark.core.registration.ModObjectRegistry.BlockBuildData;
import dark.farmtech.FarmTech;
/** Prefab class for all farm blocks to remove the need for some configuration of the super class
*
*
* @author Darkguardsman */
public abstract class BlockFT extends BlockMachine implements IExtraObjectInfo
{