Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Slimefun/Slimefun4
/ functions
Functions
4,048 in github.com/Slimefun/Slimefun4
⨍
Functions
4,048
◇
Types & classes
696
↓ 2,219 callers
Method
item
@return underlying ItemStack used
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:336
↓ 589 callers
Method
register
Registers this GEO Resource
src/main/java/io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.java:85
↓ 395 callers
Method
add
(int slot, @Nonnull MaterialChoice choice)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/AsyncRecipeChoiceTask.java:56
↓ 326 callers
Method
get
(@Nonnull Biome biome)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java:68
↓ 310 callers
Method
getLocation
This returns the {@link Location} of this {@link ElevatorFloor}. @return The {@link Location} of this floor
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/elevator/ElevatorFloor.java:66
↓ 309 callers
Method
getLocalization
This returns the {@link LocalizationService} of Slimefun. @return The {@link LocalizationService} of Slimefun
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:795
↓ 284 callers
Method
sendMessage
This will send a text message to the {@link PerformanceInspector}. @param msg The message to send
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/PerformanceInspector.java:31
↓ 258 callers
Method
register
(String key, int id, String name, int defaultCost, SlimefunItemStack... items)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/ResearchSetup.java:297
↓ 234 callers
Method
getType
This returns the {@link Material} of this surface. @return The {@link Material} of this surface
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/settings/ClimbableSurface.java:47
↓ 225 callers
Method
log
Log a message if the {@link TestCase} is currently enabled. @param testCase The {@link TestCase} to use @param msg The message
src/main/java/io/github/thebusybiscuit/slimefun4/core/debug/Debug.java:32
↓ 223 callers
Method
getWorld
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/ProfiledBlock.java:84
↓ 206 callers
Method
create
(Color color, String name, String... lore)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/itemstack/ColoredFireworkStar.java:23
↓ 206 callers
Method
getItem
This {@link ItemStack} is used for display-purposes in the GEO Scanner. But will also determine the Output of the GEO Miner, if it is applicable for t
src/main/java/io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.java:71
↓ 173 callers
Method
size
This returns the amount of elements in this {@link GuideHistory}. @return The size of this {@link GuideHistory}
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/GuideHistory.java:140
↓ 171 callers
Method
addItem
Adds an Item to the Inventory in that Slot @param slot The Slot in the Inventory @param item The Item for that Slot @return The
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:119
↓ 162 callers
Method
getRegistry
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:944
↓ 157 callers
Method
getPlayer
This returns the {@link Player} who this {@link PlayerProfile} belongs to. If the {@link Player} is offline, null will be returned. @return The {@lin
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:338
↓ 153 callers
Method
create
(@Nonnull Player p)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/guide/SurvivalSlimefunGuide.java:742
↓ 143 callers
Method
isPresent
This will check whether this {@link StatusEffect} is currently applied to that {@link Player}. If the effect has expired, it will automatically remove
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/StatusEffect.java:96
↓ 142 callers
Method
put
(@Nonnull Biome biome, @Nonnull T value)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java:102
↓ 132 callers
Method
getValue
This returns the <strong>current</strong> value of this {@link ItemSetting}. @return The current value
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemSetting.java:107
↓ 124 callers
Method
instance
This returns the global instance of {@link Slimefun}. This may return null if the {@link Plugin} was disabled. @return The {@link Slimefun} instance
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:719
↓ 121 callers
Method
getName
This method returns the name of this addon, it defaults to the name of the {@link JavaPlugin} provided by {@link SlimefunAddon#getJavaPlugin()} @retu
src/main/java/io/github/thebusybiscuit/slimefun4/api/SlimefunAddon.java:53
↓ 117 callers
Method
getInventory
(@Nonnull T inventoryHolder)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/handlers/VanillaInventoryDropHandler.java:79
↓ 116 callers
Method
mock
(String id, float capacity)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/registration/TestRechargeableItems.java:123
↓ 113 callers
Method
add
This method adds a {@link ItemGroup} to this {@link GuideHistory}. Should the {@link ItemGroup} already be the last element in this {@link GuideHistor
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/GuideHistory.java:82
↓ 111 callers
Method
getMessage
(@Nonnull String key)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:238
↓ 106 callers
Method
getItemMeta
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:432
↓ 104 callers
Method
getUniqueId
This returns the {@link UUID} for this {@link HeadTexture}. The {@link UUID} is generated from the texture and cached for performance reasons. @retur
src/main/java/io/github/thebusybiscuit/slimefun4/utils/HeadTexture.java:153
↓ 101 callers
Method
addMenuClickHandler
Executes a certain Action upon clicking an Item in the Menu @param slot The Slot in the Inventory @param handler The MenuClickH
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:172
↓ 100 callers
Method
logger
This returns the {@link Logger} instance that Slimefun uses. <p> <strong>Any {@link SlimefunAddon} should use their own {@link Logger} instance!</stro
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:743
↓ 95 callers
Method
getBlock
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/AndroidInstance.java:19
↓ 89 callers
Method
mockSlimefunItem
(Plugin plugin, String id, ItemStack item)
src/test/java/io/github/thebusybiscuit/slimefun4/test/TestUtilities.java:63
↓ 84 callers
Method
getInventory
(Block b)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:856
↓ 83 callers
Method
getId
Returns the identifier of the associated {@link SlimefunItem}. @return the identifier of the {@link SlimefunItem}
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/ItemAttribute.java:27
↓ 80 callers
Method
setCancelled
(boolean cancel)
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/AndroidMineEvent.java:67
↓ 78 callers
Method
getEmptyClickHandler
()
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChestMenuUtils.java:83
↓ 78 callers
Method
machine
(@Nonnull MachineTier tier, @Nonnull MachineType type)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/LoreBuilder.java:40
↓ 77 callers
Method
remove
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/GrapplingHookEntity.java:43
↓ 76 callers
Method
getByItem
(@Nullable SlimefunItemStack slimefunItemStack)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:1155
↓ 75 callers
Method
isItemSimilar
Compares two {@link ItemStack}s and returns if they are similar or not. Takes into account some shortcut checks specific to {@link SlimefunItem}s for
src/main/java/io/github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java:289
↓ 71 callers
Method
registerFuel
(@Nonnull MachineFuel fuel)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/AbstractEnergyProvider.java:92
↓ 70 callers
Method
callEvent
This method calls a {@link BlockFormEvent} for this {@link InfiniteBlockGenerator}. There are a few plugins who catch these events to inject custom {@
src/main/java/io/github/thebusybiscuit/slimefun4/utils/InfiniteBlockGenerator.java:145
↓ 69 callers
Method
getAmount
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:348
↓ 69 callers
Method
powerPerSecond
(int power)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/LoreBuilder.java:52
↓ 67 callers
Method
add
Adds the given {@link SlimefunItem} to this {@link ItemGroup}. @param item the {@link SlimefunItem} that should be added to this {@link It
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemGroup.java:181
↓ 67 callers
Method
addBlockInfo
(Location l, String key, String value)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:521
↓ 67 callers
Method
registerRecipe
(MachineRecipe recipe)
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.java:308
↓ 64 callers
Method
getState
This method returns the {@link ItemState} this {@link SlimefunItem} is currently in. This can be used to determine whether a {@link SlimefunItem} is e
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:210
↓ 64 callers
Method
of
This is our static accessor for the {@link AbstractRecipe} class. It will create a new {@link VanillaRecipe} for the given {@link Recipe} if it is a v
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/AbstractRecipe.java:137
↓ 63 callers
Method
clone
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:305
↓ 62 callers
Method
getItemInSlot
Returns the ItemStack in that Slot @param slot The Slot in the Inventory @return The ItemStack in that Slot
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:157
↓ 62 callers
Method
getType
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:340
↓ 62 callers
Method
runSync
This method schedules a delayed synchronous task for Slimefun. <strong>For Slimefun only, not for addons.</strong> This method should only be invoked
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:1040
↓ 61 callers
Method
isAtLeast
This method checks whether this {@link MinecraftVersion} is newer or equal to the given {@link MinecraftVersion}, An unknown version will default to
src/main/java/io/github/thebusybiscuit/slimefun4/api/MinecraftVersion.java:235
↓ 61 callers
Method
replaceExistingItem
(int slot, ItemStack item)
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/DirtyChestMenu.java:158
↓ 61 callers
Method
setCapacity
This sets the energy capacity for this machine. This method <strong>must</strong> be called before registering the item and only before registering.
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/geo/GEOMiner.java:120
↓ 60 callers
Method
addItemSetting
This method will add any given {@link ItemSetting} to this {@link SlimefunItem}. Note that this will not work after the {@link SlimefunItem} was regis
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:813
↓ 59 callers
Method
addItemHandler
This method will add any given {@link ItemHandler} to this {@link SlimefunItem}. Note that this will not work after the {@link SlimefunItem} was regis
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:785
↓ 58 callers
Method
getContents
Returns an Array containing the Contents of this Inventory @return The Contents of this Inventory
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:218
↓ 58 callers
Method
setType
(Material type)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:261
↓ 57 callers
Method
contains
This method returns whether a given {@link SlimefunItem} exists in this {@link ItemGroup}. @param item The {@link SlimefunItem} to find @
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemGroup.java:280
↓ 55 callers
Method
getLogger
This method returns the {@link Logger} of this addon, it defaults to the {@link Logger} of the {@link JavaPlugin} provided by {@link SlimefunAddon#get
src/main/java/io/github/thebusybiscuit/slimefun4/api/SlimefunAddon.java:73
↓ 54 callers
Method
setEnergyConsumption
This method sets the energy consumed by this machine per tick. @param energyConsumption The energy consumed per tick @return This method
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/geo/GEOMiner.java:154
↓ 53 callers
Method
awaitProfile
(OfflinePlayer player)
src/test/java/io/github/thebusybiscuit/slimefun4/test/TestUtilities.java:78
↓ 53 callers
Method
getResult
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/operations/FuelOperation.java:51
↓ 52 callers
Method
asList
This returns an ordered {@link List} of {@link Material Materials} that are part o this {@link ColoredMaterial}. @return An ordered {@link List} of {
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ColoredMaterial.java:231
↓ 52 callers
Method
equals
(Material a, Material b)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/MultiBlockListener.java:96
↓ 52 callers
Method
getMinecraftVersion
This returns the currently installed version of Minecraft. @return The current version of Minecraft
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:990
↓ 52 callers
Method
isTagged
(@Nonnull Material item)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/tags/SlimefunTag.java:350
↓ 50 callers
Method
setProcessingSpeed
This sets the speed of this machine. @param speed The speed multiplier for this machine, must be above zero @return This method will retu
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/geo/GEOMiner.java:139
↓ 50 callers
Method
speed
(float speed)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/LoreBuilder.java:44
↓ 50 callers
Method
stream
This returns a {@link Stream} of {@link Material Materials} for this {@link SlimefunTag}. @return A {@link Stream} of {@link Material Materials}
src/main/java/io/github/thebusybiscuit/slimefun4/utils/tags/SlimefunTag.java:420
↓ 49 callers
Method
getKey
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemGroup.java:94
↓ 49 callers
Method
getLocationInfo
(Location l)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:450
↓ 49 callers
Method
isCancelled
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/AndroidMineEvent.java:62
↓ 49 callers
Method
setItemMeta
(ItemMeta meta)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:255
↓ 48 callers
Method
getClickedBlock
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/PlayerRightClickEvent.java:115
↓ 48 callers
Method
getX
Gets the x for this block. @return This blocks x coordinate.
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/ProfiledBlock.java:94
↓ 47 callers
Method
getZ
Gets the z for this block. @return This blocks z coordinate.
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/ProfiledBlock.java:112
↓ 47 callers
Method
isEmpty
This method checks if there are any slots that need to be updated. @return Whether this task has nothing to do
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/AsyncRecipeChoiceTask.java:85
↓ 47 callers
Method
playAt
This method will play this {@link SoundEffect} at the given {@link Location} using the provided {@link SoundCategory}. @param loc The {@link Loc
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/sounds/SoundEffect.java:172
↓ 47 callers
Method
register
This method registers this {@link SlimefunItem}. Always call this method after your {@link SlimefunItem} has been initialized. Never call it more than
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:428
↓ 46 callers
Method
contains
Checks whether the Config contains the specified Path @param path The path in the Config File @return True/false
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java:131
↓ 45 callers
Method
consumeItem
(Inventory inv, Talisman talisman, ItemStack talismanItem)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java:228
↓ 45 callers
Method
getValues
()
src/main/java/io/github/thebusybiscuit/slimefun4/utils/tags/SlimefunTag.java:367
↓ 45 callers
Method
getY
Gets the y for this block. @return This blocks y coordinate.
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/ProfiledBlock.java:103
↓ 43 callers
Method
get
Get the {@link PlayerProfile} for a {@link OfflinePlayer} asynchronously. @param p The {@link OfflinePlayer} who's {@link PlayerProfile} t
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:366
↓ 43 callers
Method
getDisplayName
This returns the localized display name of this {@link ItemGroup} for the given {@link Player}. The method will fall back to {@link #getUnlocalizedNam
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemGroup.java:253
↓ 43 callers
Method
hasPermission
This checks whether the {@link Player} who placed down this {@link BlockPlacer} has building permissions at that {@link Location}. @param dispenser
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/blocks/BlockPlacer.java:129
↓ 43 callers
Method
setAmount
(int amount)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:265
↓ 42 callers
Method
getLocation
This returns the {@link Location} of this {@link Waypoint} @return The {@link Waypoint} {@link Location}
src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/Waypoint.java:134
↓ 41 callers
Method
getKey
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/resources/AbstractResource.java:51
↓ 40 callers
Method
addRecipe
(int seconds, ItemStack input, ItemStack output)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricPress.java:90
↓ 39 callers
Method
getLocation
()
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenu.java:90
↓ 38 callers
Method
cancel
This method cancels this {@link AbstractPlayerTask}.
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/player/AbstractPlayerTask.java:41
↓ 38 callers
Method
check
(@Nonnull Block b)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:746
↓ 38 callers
Method
playFor
This method will play this {@link SoundEffect} only to the given {@link Player} using the eye {@link Location} of the {@link Player} and the {@link So
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/sounds/SoundEffect.java:155
↓ 37 callers
Method
isEmpty
This returns whether this {@link BiomeMap} is empty. An empty {@link BiomeMap} contains no biomes or values. @return Whether this {@link BiomeMap} is
src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java:98
↓ 36 callers
Method
getLore
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/Radioactivity.java:71
next →
1–100 of 4,048, ranked by callers