mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 15:36:18 +00:00
Rebalance electron tubes and add ender farm
This commit is contained in:
1 parent
10fec50457
commit
287cb8cb87
36 files changed
+617
-115
No files matched your search
@@ -14,6 +14,8 @@ public interface IFarmInstance {
|
||||
registerSoil(resource, soilState, false);
|
||||
}
|
||||
|
||||
void registerFarmables(String identifier);
|
||||
|
||||
void registerSoil(ItemStack resource, IBlockState soilState, boolean hasMetaData);
|
||||
|
||||
boolean isAcceptedSoil(IBlockState blockState);
|
||||
|
||||
@@ -20,8 +20,19 @@ public interface IFarmable {
|
||||
|
||||
/**
|
||||
* @return true if the block at the given location is a "sapling" for this type, i.e. a non-harvestable immature version of the crop.
|
||||
* @deprecated Since Forestry 5.8. Use the version below. TODO Remove this method in 1.13
|
||||
*/
|
||||
boolean isSaplingAt(World world, BlockPos pos);
|
||||
@Deprecated
|
||||
default boolean isSaplingAt(World world, BlockPos pos){
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return true if the block at the given location is a "sapling" for this type, i.e. a non-harvestable immature version of the crop.
|
||||
*/
|
||||
default boolean isSaplingAt(World world, BlockPos pos, IBlockState blockState){
|
||||
return isSaplingAt(world, pos);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {@link ICrop} if the block at the given location is a harvestable and mature crop, null otherwise.
|
||||
|
||||
Reference in new issue
Block a user