mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 15:36:18 +00:00
Make hive bees aggressive, add Bee Smoker item to calm them
This commit is contained in:
1 parent
801d8f2752
commit
c7b94cc8af
55 files changed
+958
-277
No files matched your search
@@ -0,0 +1,23 @@
|
||||
package forestry.api.apiculture;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.util.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();
|
||||
|
||||
/**
|
||||
* 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);
|
||||
}
|
||||
Reference in new issue
Block a user