mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-16 18:44:45 +00:00
26 lines
619 B
Java
26 lines
619 B
Java
package forestry.api.apiculture;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.util.math.BlockPos;
|
|
import net.minecraft.world.World;
|
|
|
|
public interface IHiveTile {
|
|
/**
|
|
* Call to calm agitated bees. Used by the smoker to stop wild bees from attacking as much.
|
|
* Bees will not stay calm for very long.
|
|
*/
|
|
void calmBees();
|
|
|
|
boolean isAngry();
|
|
|
|
/**
|
|
* Called when the hive is attacked.
|
|
*/
|
|
void onAttack(World world, BlockPos pos, EntityPlayer player);
|
|
|
|
/**
|
|
* Called when the hive is broken.
|
|
*/
|
|
void onBroken(World world, BlockPos pos, EntityPlayer player, boolean canHarvest);
|
|
}
|