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
↓ 14 callers
Method
setEmptySlotsClickable
Toggles whether Players can click the empty menu slots while viewing this Menu @param emptyClickable Whether the Player can click empty sl
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:82
↓ 13 callers
Method
add
(int amount)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/ItemStackAndInteger.java:39
↓ 13 callers
Method
clearBlockInfo
(Block block)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:611
↓ 13 callers
Method
flowSafeAddition
This detects if 2 integers will overflow/underflow and if they will, returns the corresponding value @param a the first integer @param b the second in
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:291
↓ 13 callers
Method
getBranch
This method returns the branch the current build of Slimefun is running on. This can be used to determine whether we are dealing with an official buil
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/UpdaterService.java:94
↓ 13 callers
Method
getItem
(@Nonnull SlimefunGuideMode design)
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/SlimefunGuide.java:35
↓ 13 callers
Method
getItemMeta
()
src/main/java/io/github/thebusybiscuit/slimefun4/utils/itemstack/ItemStackWrapper.java:52
↓ 13 callers
Method
getStringList
(@Nullable Language language, LanguageFile file, String path)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:232
↓ 13 callers
Method
isSoulbound
This method checks whether the given {@link ItemStack} is considered {@link Soulbound}. @param item The {@link ItemStack} to check for @re
src/main/java/io/github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java:104
↓ 13 callers
Method
isTileEntity
This method checks whether the given {@link Material} is a Tile Entity. This is used to determine whether the {@link Block} produced by this {@link Ma
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/BlockDataService.java:135
↓ 13 callers
Method
register
Registers this {@link Research}.
src/main/java/io/github/thebusybiscuit/slimefun4/api/researches/Research.java:301
↓ 13 callers
Method
removeCharge
(@Nonnull Location l, int charge)
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/EnergyNetComponent.java:175
↓ 13 callers
Method
setResearched
This method sets the Player's "researched" status for this Research. Use the boolean to unlock or lock the {@link Research} @param research
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:152
↓ 13 callers
Method
stop
This method stops the {@link IndustrialMiner}.
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/miner/MiningTask.java:97
↓ 12 callers
Method
execute
(ProgrammableAndroid android, Block b, BlockMenu inventory, BlockFace face)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Instruction.java:283
↓ 12 callers
Method
findAt
This will attempt to find an {@link InfiniteBlockGenerator} at the given {@link Block}. @param b The {@link Block} @return An {@link Infi
src/main/java/io/github/thebusybiscuit/slimefun4/utils/InfiniteBlockGenerator.java:161
↓ 12 callers
Method
getInput
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/altar/AltarRecipe.java:39
↓ 12 callers
Method
getInventory
This method returns the {@link Inventory} of this {@link PlayerBackpack} @return The {@link Inventory} of this {@link PlayerBackpack}
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.java:145
↓ 12 callers
Method
getItemGroup
This returns the {@link ItemGroup} of our {@link SlimefunItem}, every {@link SlimefunItem} is associated with exactly one {@link ItemGroup}. @return
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:230
↓ 12 callers
Method
getMinecraftRecipeService
This method returns out {@link MinecraftRecipeService} for Slimefun. This service is responsible for finding/identifying {@link Recipe Recipes} from v
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:807
↓ 12 callers
Method
getResearches
This Method will return all Researches that this {@link Player} has unlocked @return A {@code Hashset<Research>} of all Researches this {@link Player
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:202
↓ 12 callers
Method
getSize
This method returns the size of this {@link BlockMenuPreset}. If the size has not been determined yet, this will return -1. @return The size of this
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenuPreset.java:172
↓ 12 callers
Method
isDisabledIn
This method returns whether this {@link SlimefunItem} is disabled for that specific {@link World}. Note that if the item is disabled globally, this me
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:390
↓ 12 callers
Method
mockVanillaItem
(Plugin plugin, Material type, boolean enabled)
src/test/java/io/github/thebusybiscuit/slimefun4/test/TestUtilities.java:70
↓ 12 callers
Method
setSoulbound
Toggles an {@link ItemStack} to be Soulbound.<br> If true is passed, this will add the {@link #SOULBOUND_LORE} and add a {@link NamespacedKey} to the
src/main/java/io/github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java:172
↓ 11 callers
Method
addItemFlags
(ItemFlag... itemFlags)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:526
↓ 11 callers
Method
checkID
(@Nonnull Block b)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:763
↓ 11 callers
Method
distanceSquared
(Location source, Location destination)
src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/TeleportationManager.java:171
↓ 11 callers
Method
equals
(Object obj)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/ProfiledBlock.java:144
↓ 11 callers
Method
equals
(Object obj)
src/main/java/io/github/thebusybiscuit/slimefun4/core/multiblocks/MultiBlock.java:93
↓ 11 callers
Method
getBugTrackerURL
This method returns a link to the Bug Tracker of this {@link SlimefunAddon} @return The URL for this Plugin's Bug Tracker, or null
src/main/java/io/github/thebusybiscuit/slimefun4/api/SlimefunAddon.java:44
↓ 11 callers
Method
getChoices
(@Nonnull ShapedRecipe recipe)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/VanillaRecipe.java:51
↓ 11 callers
Method
getEnabledSlimefunItems
This {@link List} contains every <strong>enabled</strong> {@link SlimefunItem}. @return A {@link List} containing every enabled {@link SlimefunItem}
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:166
↓ 11 callers
Method
getItemData
This method returns an {@link Optional} holding the data stored on the given {@link ItemStack}. The {@link Optional} will be empty if the given {@link
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/CustomItemDataService.java:102
↓ 11 callers
Method
getSize
This returns the size of this {@link Network}. It is equivalent to the amount of {@link Location Locations} connected to this {@link Network}. @retur
src/main/java/io/github/thebusybiscuit/slimefun4/api/network/Network.java:123
↓ 11 callers
Method
hunger
(double value)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/LoreBuilder.java:68
↓ 11 callers
Method
load
This method is used for internal purposes only.
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:770
↓ 11 callers
Method
parseString
Little helper method to provide {@link JsonParser} functionality across different versions of Gson. @param json The {@link String} to pars
src/main/java/io/github/thebusybiscuit/slimefun4/utils/JsonUtils.java:33
↓ 11 callers
Method
radioactive
(@Nonnull Radioactivity radioactivity)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/LoreBuilder.java:36
↓ 11 callers
Method
setBackpackId
This method sets the id for a backpack onto the given {@link ItemStack}. @param backpackOwner The owner of this backpack @param item
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BackpackListener.java:195
↓ 11 callers
Method
setItem
(int slot, @Nullable ItemStack item)
src/test/java/io/github/thebusybiscuit/slimefun4/test/mocks/InventoryViewWrapper.java:52
↓ 11 callers
Method
sort
(SlimefunProfiler profiler, Set<Map.Entry<String, Long>> entrySet)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/SummaryOrderType.java:31
↓ 11 callers
Method
toString
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/debug/TestCase.java:41
↓ 11 callers
Method
updateHologram
This will update the hologram text for the given {@link Block}. @param b The {@link Block} to which the hologram belongs @param text
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/HologramOwner.java:34
↓ 10 callers
Method
activateAnvilTalisman
(boolean enderVariant, boolean inEnderChest)
src/test/java/io/github/thebusybiscuit/slimefun4/api/events/TestTalismanActivateEvent.java:50
↓ 10 callers
Method
craft
This method performs a crafting operation. It will attempt to fulfill the provided {@link AbstractRecipe} using the given {@link Inventory}. This will
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/AbstractAutoCrafter.java:401
↓ 10 callers
Method
damageItem
This method will damage the given {@link ItemStack} once. It also takes into account the {@link Enchantment} {@code Unbreaking}. It will only apply t
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/DamageableItem.java:53
↓ 10 callers
Method
filter
(@Nullable ItemStack stack, List<ItemStackAndInteger> items, Location node)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/AbstractItemNetwork.java:101
↓ 10 callers
Method
getBlock
This method returns the mined {@link Block} @return the mined {@link Block}
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/AndroidMineEvent.java:46
↓ 10 callers
Method
getItemCharge
This method returns the currently stored energy charge on the provided {@link ItemStack}. @param item The {@link ItemStack} to get the cha
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/Rechargeable.java:73
↓ 10 callers
Method
getMessages
(@Nonnull Player p, @Nonnull String key)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:270
↓ 10 callers
Method
getNetworkManager
This returns our {@link NetworkManager} which is responsible for handling the Cargo and Energy networks. @return Our {@link NetworkManager} instance
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:939
↓ 10 callers
Method
getNextButton
(@Nonnull Player p, int page, int pages)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChestMenuUtils.java:127
↓ 10 callers
Method
getPreviousButton
(@Nonnull Player p, int page, int pages)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChestMenuUtils.java:113
↓ 10 callers
Method
getResearchCfg
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:763
↓ 10 callers
Method
getResult
This returns the result of this {@link AbstractRecipe}. This will return the original {@link ItemStack}, so make sure to {@link ItemStack#clone()} it.
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/AbstractRecipe.java:87
↓ 10 callers
Method
getUUID
This returns the {@link UUID} this {@link PlayerProfile} is linked to. @return The {@link UUID} of our {@link PlayerProfile}
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:112
↓ 10 callers
Method
getValue
(String path)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockInfoConfig.java:66
↓ 10 callers
Method
loadConfiguration
This method loads all aliases. This mapping matches a GitHub username with a Minecraft username. These people are... "special cases".
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/ContributionsConnector.java:53
↓ 10 callers
Method
mockPrepareSmithingEvent
(ItemStack tool, ItemStack material)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TestSmithingTableListener.java:83
↓ 10 callers
Method
mockSmithingEvent
(ItemStack tool, ItemStack material)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TestSmithingTableListener.java:69
↓ 10 callers
Method
open
(Player p, PlayerProfile profile, SlimefunGuideMode layout)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/RickFlexGroup.java:41
↓ 10 callers
Method
openSettings
(Player p, ItemStack guide)
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/options/SlimefunGuideSettings.java:61
↓ 10 callers
Method
removeItemCharge
This method removes the given charge to the provided {@link ItemStack}. The method will also return whether this operation was successful. If the {@li
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/Rechargeable.java:128
↓ 10 callers
Method
roundDecimalNumber
(double number)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:222
↓ 10 callers
Method
setUseableInWorkbench
This sets whether or not this {@link SlimefunItem} is allowed to be used in a normal Crafting Table. @param useable Whether this {@link Sl
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:736
↓ 9 callers
Method
addWaypoint
This adds the given {@link Waypoint} to the {@link List} of {@link Waypoint Waypoints} of this {@link PlayerProfile}. @param waypoint The
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:223
↓ 9 callers
Method
apply
This method applies the symptom to a player. @param p The player
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/RadiationSymptom.java:53
↓ 9 callers
Method
contains
(String path)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockInfoConfig.java:61
↓ 9 callers
Method
endOperation
This will end the {@link MachineOperation} at the given {@link Location}. @param loc The {@link Location} at which our machine is located.
src/main/java/io/github/thebusybiscuit/slimefun4/core/machines/MachineProcessor.java:189
↓ 9 callers
Method
equals
(Object obj)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/itemstack/ItemStackWrapper.java:72
↓ 9 callers
Method
getAsMillis
(long nanoseconds)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:207
↓ 9 callers
Method
getBlockTicker
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:416
↓ 9 callers
Method
getConfiguration
This returns the currently used (immutable) {@link SoundConfiguration} for the given {@link SoundEffect}. @param sound The {@link SoundEff
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/sounds/SoundService.java:105
↓ 9 callers
Method
getCustomHead
This method returns an {@link ItemStack} for the given texture. The result will be a Player Head with this texture. @param texture The tex
src/main/java/io/github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java:226
↓ 9 callers
Method
getId
This returns the id of this {@link PlayerBackpack} @return The id of this {@link PlayerBackpack}
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.java:110
↓ 9 callers
Method
getIntegrations
This returns our instance of {@link IntegrationsManager}. This is responsible for managing any integrations with third party {@link Plugin plugins}.
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:873
↓ 9 callers
Method
getItems
Returns all instances of {@link SlimefunItem} bound to this {@link ItemGroup}. @return the list of SlimefunItems bound to this {@link ItemGroup}
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemGroup.java:268
↓ 9 callers
Method
getKey
(@Nonnull String key)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/compatibility/VersionedPotionEffectType.java:66
↓ 9 callers
Method
getKey
This returns the key of this {@link ItemSetting}. @return The key under which this setting is stored (relative to the {@link SlimefunItem})
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemSetting.java:89
↓ 9 callers
Method
getMaxStackSize
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:376
↓ 9 callers
Method
getResearch
Attempts to get a {@link Research} with the given {@link NamespacedKey}. @param key the {@link NamespacedKey} of the {@link Research} you
src/main/java/io/github/thebusybiscuit/slimefun4/api/researches/Research.java:333
↓ 9 callers
Method
getString
(String path)
src/main/java/me/mrCookieSlime/Slimefun/api/EmptyBlockData.java:24
↓ 9 callers
Method
getTicks
This method returns how long this {@link MachineFuel} lasts. The result represents Slimefun ticks. @return How many ticks this fuel type lasts
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineFuel.java:64
↓ 9 callers
Method
getTime
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/SlimefunProfiler.java:369
↓ 9 callers
Method
getWorldSettingsService
This method returns out world settings service. That service is responsible for managing item settings per {@link World}, such as disabling a {@link S
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:840
↓ 9 callers
Method
isSurvivalMode
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/guide/SurvivalSlimefunGuide.java:93
↓ 9 callers
Method
limitedAddition
This detects if 2 integers will overflow/underflow past a maximum or minimum value and if they will, returns the corresponding value @param a the firs
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:303
↓ 9 callers
Method
loadPlayerData
(@Nonnull UUID uuid)
src/main/java/io/github/thebusybiscuit/slimefun4/storage/backend/legacy/LegacyStorage.java:28
↓ 9 callers
Method
save
Saves the Config Object to its File
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java:91
↓ 9 callers
Method
setCharge
This method sets the charge which is stored at a given {@link Location} If this {@link EnergyNetComponent} is of type {@code EnergyNetComponentType.CA
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/EnergyNetComponent.java:122
↓ 9 callers
Method
setItemCharge
This method sets the stored energy charge for a given {@link ItemStack}. The charge must be at least zero and at most {@link #getMaxItemCharge(ItemSta
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/Rechargeable.java:49
↓ 9 callers
Method
setTestCase
Set the current test case for this server. This will enable debug logging for this specific case which can be helpful by Slimefun or addon developers.
src/main/java/io/github/thebusybiscuit/slimefun4/core/debug/Debug.java:122
↓ 9 callers
Method
start
This method starts the {@link TickerTask} on an asynchronous schedule. @param plugin The instance of our {@link Slimefun}
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/TickerTask.java:71
↓ 9 callers
Method
test
(@Nonnull ItemStack item)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/ItemFilter.java:162
↓ 9 callers
Method
toString
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/reactors/ReactorMode.java:29
↓ 9 callers
Method
unlock
This unlocks this {@link Research} for the given {@link Player} without any form of callback. @param p The {@link Player} who should unloc
src/main/java/io/github/thebusybiscuit/slimefun4/api/researches/Research.java:280
↓ 8 callers
Method
addItemCharge
This method adds the given charge to the provided {@link ItemStack}. The method will also return whether this operation was successful. If the {@link
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/Rechargeable.java:93
↓ 8 callers
Method
canUnlock
Checks if the {@link Player} can unlock this {@link Research}. @param p The {@link Player} to check @return Whether that {@link Player} c
src/main/java/io/github/thebusybiscuit/slimefun4/api/researches/Research.java:263
↓ 8 callers
Method
closeEntry
This method closes a previously started entry. Make sure to call {@link #newEntry()} to get the timestamp in advance. @param l The {@link
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/SlimefunProfiler.java:156
← previous
next →
201–300 of 4,048, ranked by callers