Interface IBeeSpeciesType

All Superinterfaces:
IBreedingTrackerHandler, ISpeciesType<IBeeSpecies,IBee>

public interface IBeeSpeciesType extends ISpeciesType<IBeeSpecies,IBee>
  • Method Details

    • getBreedingTracker

      IApiaristTracker getBreedingTracker(net.minecraft.world.level.LevelAccessor level, @Nullable com.mojang.authlib.GameProfile profile)
      Description copied from interface: ISpeciesType
      Gets the player's breeding tracker for this species type.
      Specified by:
      getBreedingTracker in interface ISpeciesType<IBeeSpecies,IBee>
      Parameters:
      level - The world instance where the breeding tracker is stored.
      profile - The player whose breeding tracker should be returned.
      Returns:
      IApiaristTracker associated with the passed world.
    • isDrone

      boolean isDrone(net.minecraft.world.item.ItemStack stack)
      Returns:
      true if passed item is a drone. Equal to getLifeStage(ItemStack stack) == EnumBeeType.DRONE
    • isMated

      boolean isMated(net.minecraft.world.item.ItemStack stack)
      Returns:
      true if passed item is mated (i.e. a queen)