Class CustomDropsHandler
java.lang.Object
me.lokka30.levelledmobs.customdrops.CustomDropsHandler
The main CustomDropsclass that holds useful functions for parsing, instantizing and more of
custom drop items
- Since:
- 2.4.0
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntityEquippedItems
(@NotNull org.bukkit.entity.LivingEntity livingEntity, @NotNull EquippedItemsInfo equippedItemsInfo) void
@NotNull Map<org.bukkit.entity.EntityType,
CustomDropInstance> @NotNull Map<String,
CustomDropInstance> getCustomItemDrops
(LivingEntityWrapper lmEntity, List<org.bukkit.inventory.ItemStack> drops, boolean equippedOnly) @Nullable GroupLimits
getGroupLimits
(@NotNull CustomDropBase dropBase) void
setDropInstanceFromId
(@NotNull String groupId, @NotNull CustomDropInstance dropInstance)
-
Field Details
-
customDropsParser
-
externalCustomDrops
-
-
Constructor Details
-
CustomDropsHandler
-
-
Method Details
-
getCustomDropsitems
-
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
-
clearGroupIdMappings
public void clearGroupIdMappings()
-