public class FakeBeekeepingLogic extends java.lang.Object implements IBeekeepingLogic
| Modifier and Type | Field and Description |
|---|---|
static FakeBeekeepingLogic |
instance |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDoBeeFX()
Whether bee fx should be active.
|
boolean |
canWork()
Checks that the bees can work, setting error conditions on the housing where needed
|
void |
clearCachedValues()
Force the logic to refresh any cached values and error states.
|
void |
doBeeFX()
Display bee fx.
|
void |
doWork()
Performs actual work, breeding, production, etc.
|
int |
getBeeProgressPercent()
Get the progress bar for breeding and production.
|
java.util.List<net.minecraft.util.math.BlockPos> |
getFlowerPositions()
Used by bee fx to direct bees to nearby flowers.
|
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
void |
syncToClient()
Sync to client by using
INbtWritable.writeToNBT(NBTTagCompound) in your TileEntity.getUpdateTag() |
void |
syncToClient(net.minecraft.entity.player.EntityPlayerMP player) |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadData, writeDatapublic static final FakeBeekeepingLogic instance
public boolean canWork()
IBeekeepingLogiccanWork in interface IBeekeepingLogicpublic void doWork()
IBeekeepingLogicdoWork in interface IBeekeepingLogicpublic void clearCachedValues()
IBeekeepingLogicclearCachedValues in interface IBeekeepingLogicpublic void syncToClient()
IBeekeepingLogicINbtWritable.writeToNBT(NBTTagCompound) in your TileEntity.getUpdateTag()syncToClient in interface IBeekeepingLogicpublic void syncToClient(net.minecraft.entity.player.EntityPlayerMP player)
syncToClient in interface IBeekeepingLogicpublic int getBeeProgressPercent()
IBeekeepingLogicgetBeeProgressPercent in interface IBeekeepingLogicpublic boolean canDoBeeFX()
IBeekeepingLogiccanDoBeeFX in interface IBeekeepingLogicpublic void doBeeFX()
IBeekeepingLogicdoBeeFX in interface IBeekeepingLogicpublic java.util.List<net.minecraft.util.math.BlockPos> getFlowerPositions()
IBeekeepingLogicgetFlowerPositions in interface IBeekeepingLogicpublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
readFromNBT in interface INbtReadablepublic net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
writeToNBT in interface INbtWritable