2016-12-04 15:03:01 +01:00
|
|
|
/*
|
|
|
|
* This file ("IFarmer.java") is part of the Actually Additions mod for Minecraft.
|
|
|
|
* It is created and owned by Ellpeck and distributed
|
|
|
|
* under the Actually Additions License to be found at
|
|
|
|
* http://ellpeck.de/actaddlicense
|
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
*
|
2017-01-01 16:23:26 +01:00
|
|
|
* © 2015-2017 Ellpeck
|
2016-12-04 15:03:01 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
package de.ellpeck.actuallyadditions.api.internal;
|
|
|
|
|
|
|
|
import net.minecraft.item.ItemStack;
|
2020-09-07 16:24:04 +02:00
|
|
|
import net.minecraft.util.Direction;
|
|
|
|
|
|
|
|
import java.util.List;
|
2016-12-04 15:03:01 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* This is a helper interface for IFarmerBehavior.
|
|
|
|
* <p>
|
|
|
|
* This is not supposed to be implemented.
|
|
|
|
* Can be cast to TileEntity.
|
|
|
|
*/
|
2019-05-02 09:10:29 +02:00
|
|
|
public interface IFarmer extends IEnergyTile {
|
2016-12-04 15:03:01 +01:00
|
|
|
|
2020-09-07 16:24:04 +02:00
|
|
|
Direction getOrientation();
|
2016-12-04 15:03:01 +01:00
|
|
|
|
2018-06-23 01:39:30 +02:00
|
|
|
boolean canAddToSeeds(List<ItemStack> stacks);
|
2016-12-04 15:03:01 +01:00
|
|
|
|
2018-06-23 01:39:30 +02:00
|
|
|
boolean canAddToOutput(List<ItemStack> stacks);
|
2019-02-27 19:53:05 +01:00
|
|
|
|
2018-06-23 01:39:30 +02:00
|
|
|
void addToSeeds(List<ItemStack> stacks);
|
2019-02-27 19:53:05 +01:00
|
|
|
|
2018-06-23 01:39:30 +02:00
|
|
|
void addToOutput(List<ItemStack> stacks);
|
2016-12-04 15:03:01 +01:00
|
|
|
}
|