Interface ISleepingPlant
- All Known Implementing Classes:
AbstractChomper,AbstractExplodingPlant,AbstractLobbingPlant,AbstractMint,AbstractPeaHead,AbstractPeashooter,AbstractPlant,AbstractRangedPlant,AbstractRangedShroom,AbstractShroom,AbstractSnapdragon,AbstractSprout,AbstractSunProducer,AbstractSupportPlant,AbstractWallPlant,Ampliflower,BasePlant,Blover,CabbagePult,Cactus,Cattail,CherryBomb,Chomper,CobCannon,CoffeeBean,ColdSnapdragon,Curendula,DarkFlower,DoomShroom,ElectroPea,EnforcemintPlant,EvolvedPlant,ExplodeONut,FirePea,FlowerPot,FrostPea,FumeShroom,Garlic,GatlingPea,GhostPepper,GloomShroom,GoldMagnet,GraveBuster,GreenShadow,HypnoShroom,IceShroom,Jalapeno,KernelPult,KnightPea,LatentSprout,LightningReed,LilyPad,MagnetShroom,Marigold,MelonPult,MeteorFlower,MoonFlower,MovcadiaPult,MugShroom,Peashooter,PeaSprout,Plantern,PlantPartEntity,PotatoMine,PrimalPeashooter,PrimalSunflower,PuffShroom,Pumpkin,Repeater,ScaredyShroom,ScatterTail,SeaShroom,ShadowPea,ShroomSprout,SkullPepper,Snapdragon,SnowPea,SolarPea,Spikerock,Spikeweed,SplitPea,SplitPeaHead,Sprout,Squash,Starfruit,Sunflower,SunShroom,SunSprout,TallNut,TangleKelp,Threepeater,ThreepeaterHead,Toadstool,Torchwood,TreeOfWisdom,TwinSunflower,UmbrellaLeaf,WallNut,WarfareSunflower,WinterMelon
public interface ISleepingPlant
-
Method Summary
Modifier and TypeMethodDescriptionbooleandefault voiddefault voidvoidsetPlantSleeping(boolean sleep) booleanReturns whether entity should start sleep goal
-
Method Details
-
isPlantSleeping
boolean isPlantSleeping() -
setPlantSleeping
void setPlantSleeping(boolean sleep) -
sleepingConditions
boolean sleepingConditions()Returns whether entity should start sleep goal -
onSleepStart
default void onSleepStart() -
onSleepStop
default void onSleepStop()
-