java.lang.Object
me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.MachineRecipe
io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines.entities.AnimalProduce
All Implemented Interfaces:
Predicate<org.bukkit.entity.LivingEntity>

public class AnimalProduce extends MachineRecipe implements Predicate<org.bukkit.entity.LivingEntity>
An AnimalProduce can be obtained via the ProduceCollector.
Author:
TheBusyBiscuit
See Also:
  • Constructor Details

    • AnimalProduce

      @ParametersAreNonnullByDefault public AnimalProduce(org.bukkit.inventory.ItemStack input, org.bukkit.inventory.ItemStack result, Predicate<org.bukkit.entity.LivingEntity> predicate)
  • Method Details

    • test

      public boolean test(@Nonnull org.bukkit.entity.LivingEntity entity)
      Specified by:
      test in interface Predicate<org.bukkit.entity.LivingEntity>