Class CustomDropInstance

java.lang.Object
me.lokka30.levelledmobs.customdrops.CustomDropInstance

public class CustomDropInstance extends Object
Holds a mob or group instance and associates it with a list of custom drop items. This is where the override for a mob / group is set
Since:
2.4.0
  • Field Details

    • customItems

      @NotNull public final @NotNull List<CustomDropBase> customItems
    • overallChance

      public Float overallChance
    • overallPermissions

      @NotNull public final @NotNull List<String> overallPermissions
    • overrideStockDrops

      public Boolean overrideStockDrops
  • Constructor Details

    • CustomDropInstance

      public CustomDropInstance(@Nullable @Nullable org.bukkit.entity.EntityType associatedMob)
    • CustomDropInstance

      public CustomDropInstance(@NotNull @NotNull org.bukkit.entity.EntityType associatedMob, boolean isBabyMob)
    • CustomDropInstance

      public CustomDropInstance(@NotNull @NotNull CustomUniversalGroups entityGroup)
  • Method Details

    • combineDrop

      public void combineDrop(CustomDropInstance dropInstance)
    • getMobOrGroupName

      @NotNull public @NotNull String getMobOrGroupName()
    • getAssociatedMobType

      @Nullable public @Nullable org.bukkit.entity.EntityType getAssociatedMobType()
    • getOverrideStockDrops

      public boolean getOverrideStockDrops()
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object