Class CustomDropsHandler

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

public class CustomDropsHandler extends Object
The main CustomDropsclass that holds useful functions for parsing, instantizing and more of custom drop items
Since:
2.4.0
  • Field Details

  • Constructor Details

    • CustomDropsHandler

      public CustomDropsHandler(LevelledMobs main)
  • Method Details

    • getCustomDropsitems

      @NotNull public @NotNull Map<org.bukkit.entity.EntityType,CustomDropInstance> getCustomDropsitems()
    • getCustomDropsitems_groups

      @NotNull public @NotNull Map<String,CustomDropInstance> getCustomDropsitems_groups()
    • getCustomItemDrops

      public CustomDropResult getCustomItemDrops(LivingEntityWrapper lmEntity, List<org.bukkit.inventory.ItemStack> drops, boolean equippedOnly)
    • addEntityEquippedItems

      public void addEntityEquippedItems(@NotNull @NotNull org.bukkit.entity.LivingEntity livingEntity, @NotNull @NotNull EquippedItemsInfo equippedItemsInfo)
    • setDropInstanceFromId

      public void setDropInstanceFromId(@NotNull @NotNull String groupId, @NotNull @NotNull CustomDropInstance dropInstance)
    • getGroupLimits

      @Nullable public @Nullable GroupLimits getGroupLimits(@NotNull @NotNull CustomDropBase dropBase)
    • clearGroupIdMappings

      public void clearGroupIdMappings()