Package forestry.api.core
Class ForestryEvent.BeeMatingEvent
java.lang.Object
net.neoforged.bus.api.Event
forestry.api.core.ForestryEvent
forestry.api.core.ForestryEvent.BeeMatingEvent
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
ForestryEvent
public static class ForestryEvent.BeeMatingEvent
extends ForestryEvent
implements net.neoforged.bus.api.ICancellableEvent
Fired before a queen is created as a result of breeding a princess and a drone.
- Since:
- 2.4.4
-
Nested Class Summary
Nested classes/interfaces inherited from class forestry.api.core.ForestryEvent
ForestryEvent.BeeMatingEvent, ForestryEvent.MutationDiscovered, ForestryEvent.SpeciesDiscovered, ForestryEvent.SyncedBreedingTracker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDrone()voidsetPrincess(IBee princess) Used to override the princess individual, which will become the queen individual.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Constructor Details
-
BeeMatingEvent
-
-
Method Details
-
getHousing
-
getPrincess
-
setPrincess
Used to override the princess individual, which will become the queen individual.- Parameters:
princess- The new princess individual to replace the queen with.
-
getDrone
-