mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-16 10:34:53 +00:00
47 lines
1.5 KiB
Java
47 lines
1.5 KiB
Java
/*******************************************************************************
|
|
* Copyright 2011-2014 SirSengir
|
|
*
|
|
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
|
|
******************************************************************************/
|
|
package forestry.api.apiculture;
|
|
|
|
import com.mojang.authlib.GameProfile;
|
|
import forestry.api.climate.IClimateProvider;
|
|
import forestry.api.core.IErrorLogicSource;
|
|
import forestry.api.core.ILocatable;
|
|
import forestry.api.genetics.IHousing;
|
|
import net.minecraft.util.math.Vec3d;
|
|
|
|
public interface IBeeHousing extends IHousing, IErrorLogicSource, IClimateProvider, ILocatable {
|
|
|
|
/**
|
|
* Used by {@link IBeeRoot#createBeeHousingModifier(IBeeHousing)}
|
|
* to combine bee modifiers from several sources that can change over time.
|
|
* @return IBeeModifiers from the housing, frames, etc.
|
|
*/
|
|
Iterable<IBeeModifier> getBeeModifiers();
|
|
|
|
/**
|
|
* Used by {@link IBeeRoot#createBeeHousingListener(IBeeHousing)}
|
|
* to combine bee listeners from several sources that can change over time.
|
|
* @return IBeeListeners from the housing, multiblock parts, etc.
|
|
*/
|
|
Iterable<IBeeListener> getBeeListeners();
|
|
|
|
IBeeHousingInventory getBeeInventory();
|
|
|
|
IBeekeepingLogic getBeekeepingLogic();
|
|
|
|
int getBlockLightValue();
|
|
|
|
boolean canBlockSeeTheSky();
|
|
|
|
GameProfile getOwner();
|
|
|
|
/**
|
|
* @since Forestry 4.2
|
|
* @return exact coordinates where bee particle FX should spawn from
|
|
*/
|
|
Vec3d getBeeFXCoordinates();
|
|
}
|