mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-16 10:34:53 +00:00
35 lines
1.2 KiB
Java
35 lines
1.2 KiB
Java
/*******************************************************************************
|
|
* Copyright 2011-2014 SirSengir
|
|
*
|
|
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
|
|
******************************************************************************/
|
|
package forestry.api.farming;
|
|
|
|
import com.google.common.collect.HashMultimap;
|
|
import com.google.common.collect.Multimap;
|
|
|
|
import java.util.LinkedHashMap;
|
|
import java.util.Map;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
//TODO: Remove this class in 1.13
|
|
@Deprecated
|
|
public class Farmables {
|
|
/**
|
|
* Can be used to add IFarmables to some of the vanilla farm logics.
|
|
* <p>
|
|
* Identifiers: farmArboreal farmWheat farmGourd farmInfernal farmPoales farmSucculentes farmVegetables farmShroom
|
|
* @deprecated Please use {@link IFarmRegistry#registerFarmables(String, IFarmable...)} and {@link IFarmRegistry#getFarmables(String)}.
|
|
*/
|
|
@Deprecated
|
|
public static final Multimap<String, IFarmable> farmables = HashMultimap.create();
|
|
|
|
/**
|
|
* @deprecated Please use {@link IFarmRegistry#registerFertilizer(ItemStack, int)} and {@link IFarmRegistry#getFertilizeValue(ItemStack)}.
|
|
*/
|
|
@Deprecated
|
|
public static final Map<ItemStack, Integer> fertilizers = new LinkedHashMap<>();
|
|
|
|
}
|