Class SlimefunRegistry
java.lang.Object
io.github.thebusybiscuit.slimefun4.core.SlimefunRegistry
This class houses a lot of instances of
Map and List that hold
various mappings and collections related to SlimefunItem.- Author:
- TheBusyBiscuit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThisListcontains everySlimefunItem, even disabled items.Set<org.bukkit.inventory.ItemStack> ThisListcontains every disabledSlimefunItem.ThisListcontains every enabledSlimefunItem.io.github.bakedlibs.dough.collections.KeyMap<GEOResource> Map<Class<? extends ItemHandler>, Set<ItemHandler>> getGlobalItemHandlers(Class<? extends ItemHandler> identifier) org.bukkit.NamespacedKeyorg.bukkit.NamespacedKeyThis method returns aListof every enabledMultiBlock.This returns the correspondingSlimefunGuideImplementationfor a certainSlimefunGuideMode.org.bukkit.NamespacedKeybooleanDeprecated.void
-
Constructor Details
-
SlimefunRegistry
public SlimefunRegistry()
-
-
Method Details
-
load
-
getAllItemGroups
-
getAllSlimefunItems
ThisListcontains everySlimefunItem, even disabled items.- Returns:
- A
Listcontaining everySlimefunItem
-
getDisabledSlimefunItems
ThisListcontains every disabledSlimefunItem.- Returns:
- A
Listcontaining every disabledSlimefunItem
-
getEnabledSlimefunItems
ThisListcontains every enabledSlimefunItem.- Returns:
- A
Listcontaining every enabledSlimefunItem
-
getResearches
-
getCurrentlyResearchingPlayers
-
getResearchRanks
-
getMultiBlocks
This method returns aListof every enabledMultiBlock.- Returns:
- A
Listcontaining every enabledMultiBlock
-
getSlimefunGuide
This returns the correspondingSlimefunGuideImplementationfor a certainSlimefunGuideMode.This mainly only exists for internal purposes, if you want to open a certain section using the
SlimefunGuide, then please use the static methods provided in theSlimefunGuideclass.- Parameters:
mode- TheSlimefunGuideMode- Returns:
- The corresponding
SlimefunGuideImplementation
-
getMobDrops
This returns aMapconnecting theEntityTypewith aSetofItemStackswhich would be dropped when anEntityof that type was killed.- Returns:
- The
Mapof custom mob drops
-
getBarteringDrops
- Returns:
- A
Setof bartering drops
-
getRadioactiveItems
-
getTickerBlocks
-
getSlimefunItemIds
-
getMenuPresets
-
getPlayerProfiles
-
getGlobalItemHandlers
-
getGlobalItemHandlers
@Nonnull public Set<ItemHandler> getGlobalItemHandlers(@Nonnull Class<? extends ItemHandler> identifier) -
getChunks
-
getGEOResources
-
getSoulboundDataKey
@Nonnull public org.bukkit.NamespacedKey getSoulboundDataKey() -
getItemChargeDataKey
@Nonnull public org.bukkit.NamespacedKey getItemChargeDataKey() -
getGuideDataKey
@Nonnull public org.bukkit.NamespacedKey getGuideDataKey() -
isFreeCreativeResearchingEnabled
Deprecated.
-