MCPcopy Create free account

hub / github.com/Slimefun/Slimefun4 / functions

Functions4,048 in github.com/Slimefun/Slimefun4

↓ 14 callersMethodsetEmptySlotsClickable
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 callersMethodadd
(int amount)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/ItemStackAndInteger.java:39
↓ 13 callersMethodclearBlockInfo
(Block block)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:611
↓ 13 callersMethodflowSafeAddition
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 callersMethodgetBranch
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 callersMethodgetItem
(@Nonnull SlimefunGuideMode design)
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/SlimefunGuide.java:35
↓ 13 callersMethodgetItemMeta
()
src/main/java/io/github/thebusybiscuit/slimefun4/utils/itemstack/ItemStackWrapper.java:52
↓ 13 callersMethodgetStringList
(@Nullable Language language, LanguageFile file, String path)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:232
↓ 13 callersMethodisSoulbound
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 callersMethodisTileEntity
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 callersMethodregister
Registers this {@link Research}.
src/main/java/io/github/thebusybiscuit/slimefun4/api/researches/Research.java:301
↓ 13 callersMethodremoveCharge
(@Nonnull Location l, int charge)
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/EnergyNetComponent.java:175
↓ 13 callersMethodsetResearched
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 callersMethodstop
This method stops the {@link IndustrialMiner}.
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/miner/MiningTask.java:97
↓ 12 callersMethodexecute
(ProgrammableAndroid android, Block b, BlockMenu inventory, BlockFace face)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Instruction.java:283
↓ 12 callersMethodfindAt
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 callersMethodgetInput
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/altar/AltarRecipe.java:39
↓ 12 callersMethodgetInventory
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 callersMethodgetItemGroup
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 callersMethodgetMinecraftRecipeService
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 callersMethodgetResearches
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 callersMethodgetSize
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 callersMethodisDisabledIn
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 callersMethodmockVanillaItem
(Plugin plugin, Material type, boolean enabled)
src/test/java/io/github/thebusybiscuit/slimefun4/test/TestUtilities.java:70
↓ 12 callersMethodsetSoulbound
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 callersMethodaddItemFlags
(ItemFlag... itemFlags)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:526
↓ 11 callersMethodcheckID
(@Nonnull Block b)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:763
↓ 11 callersMethoddistanceSquared
(Location source, Location destination)
src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/TeleportationManager.java:171
↓ 11 callersMethodequals
(Object obj)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/ProfiledBlock.java:144
↓ 11 callersMethodequals
(Object obj)
src/main/java/io/github/thebusybiscuit/slimefun4/core/multiblocks/MultiBlock.java:93
↓ 11 callersMethodgetBugTrackerURL
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 callersMethodgetChoices
(@Nonnull ShapedRecipe recipe)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/VanillaRecipe.java:51
↓ 11 callersMethodgetEnabledSlimefunItems
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 callersMethodgetItemData
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 callersMethodgetSize
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 callersMethodhunger
(double value)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/LoreBuilder.java:68
↓ 11 callersMethodload
This method is used for internal purposes only.
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:770
↓ 11 callersMethodparseString
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 callersMethodradioactive
(@Nonnull Radioactivity radioactivity)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/LoreBuilder.java:36
↓ 11 callersMethodsetBackpackId
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 callersMethodsetItem
(int slot, @Nullable ItemStack item)
src/test/java/io/github/thebusybiscuit/slimefun4/test/mocks/InventoryViewWrapper.java:52
↓ 11 callersMethodsort
(SlimefunProfiler profiler, Set<Map.Entry<String, Long>> entrySet)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/SummaryOrderType.java:31
↓ 11 callersMethodtoString
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/debug/TestCase.java:41
↓ 11 callersMethodupdateHologram
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 callersMethodactivateAnvilTalisman
(boolean enderVariant, boolean inEnderChest)
src/test/java/io/github/thebusybiscuit/slimefun4/api/events/TestTalismanActivateEvent.java:50
↓ 10 callersMethodcraft
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 callersMethoddamageItem
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 callersMethodfilter
(@Nullable ItemStack stack, List<ItemStackAndInteger> items, Location node)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/AbstractItemNetwork.java:101
↓ 10 callersMethodgetBlock
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 callersMethodgetItemCharge
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 callersMethodgetMessages
(@Nonnull Player p, @Nonnull String key)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:270
↓ 10 callersMethodgetNetworkManager
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 callersMethodgetNextButton
(@Nonnull Player p, int page, int pages)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChestMenuUtils.java:127
↓ 10 callersMethodgetPreviousButton
(@Nonnull Player p, int page, int pages)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChestMenuUtils.java:113
↓ 10 callersMethodgetResearchCfg
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:763
↓ 10 callersMethodgetResult
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 callersMethodgetUUID
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 callersMethodgetValue
(String path)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockInfoConfig.java:66
↓ 10 callersMethodloadConfiguration
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 callersMethodmockPrepareSmithingEvent
(ItemStack tool, ItemStack material)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TestSmithingTableListener.java:83
↓ 10 callersMethodmockSmithingEvent
(ItemStack tool, ItemStack material)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TestSmithingTableListener.java:69
↓ 10 callersMethodopen
(Player p, PlayerProfile profile, SlimefunGuideMode layout)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/RickFlexGroup.java:41
↓ 10 callersMethodopenSettings
(Player p, ItemStack guide)
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/options/SlimefunGuideSettings.java:61
↓ 10 callersMethodremoveItemCharge
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 callersMethodroundDecimalNumber
(double number)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:222
↓ 10 callersMethodsetUseableInWorkbench
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 callersMethodaddWaypoint
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 callersMethodapply
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 callersMethodcontains
(String path)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockInfoConfig.java:61
↓ 9 callersMethodendOperation
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 callersMethodequals
(Object obj)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/itemstack/ItemStackWrapper.java:72
↓ 9 callersMethodgetAsMillis
(long nanoseconds)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:207
↓ 9 callersMethodgetBlockTicker
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:416
↓ 9 callersMethodgetConfiguration
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 callersMethodgetCustomHead
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 callersMethodgetId
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 callersMethodgetIntegrations
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 callersMethodgetItems
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 callersMethodgetKey
(@Nonnull String key)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/compatibility/VersionedPotionEffectType.java:66
↓ 9 callersMethodgetKey
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 callersMethodgetMaxStackSize
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:376
↓ 9 callersMethodgetResearch
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 callersMethodgetString
(String path)
src/main/java/me/mrCookieSlime/Slimefun/api/EmptyBlockData.java:24
↓ 9 callersMethodgetTicks
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 callersMethodgetTime
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/SlimefunProfiler.java:369
↓ 9 callersMethodgetWorldSettingsService
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 callersMethodisSurvivalMode
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/guide/SurvivalSlimefunGuide.java:93
↓ 9 callersMethodlimitedAddition
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 callersMethodloadPlayerData
(@Nonnull UUID uuid)
src/main/java/io/github/thebusybiscuit/slimefun4/storage/backend/legacy/LegacyStorage.java:28
↓ 9 callersMethodsave
Saves the Config Object to its File
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java:91
↓ 9 callersMethodsetCharge
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 callersMethodsetItemCharge
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 callersMethodsetTestCase
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 callersMethodstart
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 callersMethodtest
(@Nonnull ItemStack item)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/ItemFilter.java:162
↓ 9 callersMethodtoString
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/reactors/ReactorMode.java:29
↓ 9 callersMethodunlock
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 callersMethodaddItemCharge
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 callersMethodcanUnlock
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 callersMethodcloseEntry
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
← previousnext →201–300 of 4,048, ranked by callers