Rename files to be more consistent. Add missing headers, tidy up Utils

This commit is contained in:
mezz committed 2015-09-25 15:09:54 -07:00
1 parent 37dd0efee2
commit 1e89bab556
576 files changed
+3811 -3923

No files matched your search

@@ -17,9 +17,9 @@ import net.minecraft.world.World;
import forestry.api.farming.ICrop;
import forestry.api.farming.IFarmable;
import forestry.core.config.Defaults;
import forestry.core.utils.StackUtils;
import forestry.core.vect.Vect;
import forestry.core.config.Constants;
import forestry.core.utils.ItemStackUtil;
import forestry.core.utils.vect.Vect;
public class FarmableBasicFruit implements IFarmable {
@@ -49,12 +49,12 @@ public class FarmableBasicFruit implements IFarmable {
@Override
public boolean isGermling(ItemStack itemstack) {
return StackUtils.equals(block, itemstack);
return ItemStackUtil.equals(block, itemstack);
}
@Override
public boolean plantSaplingAt(EntityPlayer player, ItemStack germling, World world, int x, int y, int z) {
return world.setBlock(x, y, z, block, 0, Defaults.FLAG_BLOCK_SYNCH);
return world.setBlock(x, y, z, block, 0, Constants.FLAG_BLOCK_SYNCH);
}
@Override