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
↓ 4 callers
Method
setResearch
This method will set the {@link Research} of this {@link SlimefunItem}. You don't have to call this method if your {@link SlimefunItem} was linked to
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:650
↓ 4 callers
Method
setSupplies
This method will set the supplies in a given {@link Chunk} to the specified value. @param resource The {@link GEOResource} @param world
src/main/java/io/github/thebusybiscuit/slimefun4/api/geo/ResourceManager.java:136
↓ 4 callers
Method
setTexture
(@Nonnull Block b, @Nonnull HeadTexture texture)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/CapacitorTextureUpdateTask.java:77
↓ 4 callers
Method
setup
()
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:223
↓ 4 callers
Method
startOperation
This method will start a {@link MachineOperation} at the given {@link Location}. @param loc The {@link Location} at which our machine is l
src/main/java/io/github/thebusybiscuit/slimefun4/core/machines/MachineProcessor.java:95
↓ 4 callers
Method
subtract
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:500
↓ 4 callers
Method
test
Similar to {@link #test(Block)} this tests whether this {@link InfiniteBlockGenerator} exists at the given {@link Block}. @param b The {@l
src/main/java/io/github/thebusybiscuit/slimefun4/utils/InfiniteBlockGenerator.java:75
↓ 4 callers
Method
testResource
(NamespacedKey key, String name, ItemStack item, boolean miner, int deviation)
src/test/java/io/github/thebusybiscuit/slimefun4/api/geo/TestResourceRegistration.java:58
↓ 4 callers
Method
toString
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:941
↓ 4 callers
Method
unregisterNetwork
This removes a {@link Network} from the network system. @param network The {@link Network} to remove
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/NetworkManager.java:175
↓ 4 callers
Method
update
(Boolean newValue)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/OreCrusher.java:253
↓ 4 callers
Method
withdrawFromVanillaInventory
(AbstractItemNetwork network, Block node, ItemStack template, Inventory inv)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/CargoUtils.java:164
↓ 3 callers
Method
add
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:492
↓ 3 callers
Method
addBackButton
(ChestMenu menu, int slot, Player p, PlayerProfile profile)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/guide/SurvivalSlimefunGuide.java:616
↓ 3 callers
Method
addDirectory
(@Nonnull ZipOutputStream output, @Nonnull File directory, @Nonnull String zipPath)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/BackupService.java:110
↓ 3 callers
Method
addMenuClickHandler
(int slot, MenuClickHandler handler)
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenuPreset.java:148
↓ 3 callers
Method
addMenuCloseHandler
Executes a certain Action upon closing this Menu @param handler The MenuCloseHandler @return The ChestMenu Instance
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:198
↓ 3 callers
Method
addWaypoint
This method adds a new waypoint with the given name and {@link Location} for that {@link Player}. @param p The {@link Player} to get the n
src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/GPSNetwork.java:309
↓ 3 callers
Method
apply
(boolean value)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/OreCrusher.java:233
↓ 3 callers
Method
assertWrapped
(@Nullable ItemStack expected, @Nullable ItemStack actual)
src/test/java/io/github/thebusybiscuit/slimefun4/utils/TestItemStackWrapper.java:133
↓ 3 callers
Method
buildBiomeMap
This method builds a {@link BiomeMap} based on the parsed data. <p> Make sure to parse data via {@link #read(JsonArray)} or {@link #read(String)} befo
src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMapParser.java:203
↓ 3 callers
Method
clear
This will clear the {@link ItemFilter} and reject <strong>any</strong> {@link ItemStack}. @param rejectOnMatch Whether the item should be
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/ItemFilter.java:140
↓ 3 callers
Method
clear
This method clears the {@link AsyncRecipeChoiceTask} and removes all active iterators.
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/AsyncRecipeChoiceTask.java:99
↓ 3 callers
Method
clearExposure
(@Nonnull Player p)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/RadiationUtils.java:27
↓ 3 callers
Method
clone
()
src/main/java/io/github/thebusybiscuit/slimefun4/utils/itemstack/ItemStackWrapper.java:82
↓ 3 callers
Method
close
()
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/DirtyChestMenu.java:73
↓ 3 callers
Method
compareMaterialsVertical
(@Nonnull Block b, @Nullable Material top, @Nullable Material center, @Nullable Material bottom)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/MultiBlockListener.java:92
↓ 3 callers
Method
count
This method returns the amount of {@link ErrorReport ErrorReports} created in this session. @return The amount of {@link ErrorReport ErrorReports} cr
src/main/java/io/github/thebusybiscuit/slimefun4/api/ErrorReport.java:160
↓ 3 callers
Method
createBiomeMap
(BiomeDataConverter<T> function, String json)
src/test/java/io/github/thebusybiscuit/slimefun4/utils/biomes/TestBiomeMap.java:102
↓ 3 callers
Method
createFirework
(@Nonnull Location l, @Nonnull Color color)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/FireworkUtils.java:45
↓ 3 callers
Method
createVirtualInventory
(@Nonnull Inventory inv)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/AbstractCraftingTable.java:51
↓ 3 callers
Method
damageItem
(@Nonnull Player p, @Nullable ItemStack item)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/ClimbingPick.java:239
↓ 3 callers
Method
dig
(Block b, BlockMenu menu, Block block)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/MinerAndroid.java:73
↓ 3 callers
Method
equals
(Object obj)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:1119
↓ 3 callers
Method
equalsItemMeta
(@Nonnull ItemMeta itemMeta, @Nonnull ItemMetaSnapshot itemMetaSnapshot, boolean checkLore)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java:439
↓ 3 callers
Method
getAdditionalBlocks
Gets the {@link Block} {@link List} of blocks destroyed in this event. @return The broken blocks
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/ExplosiveToolBreakBlocksEvent.java:69
↓ 3 callers
Method
getAllowedValues
This returns an array of valid {@link Enum} values. This method may be overridden to further limit the allowed values. @return An array of allowed {@
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/settings/EnumSetting.java:48
↓ 3 callers
Method
getAmount
()
src/main/java/io/github/thebusybiscuit/slimefun4/utils/itemstack/ItemStackWrapper.java:67
↓ 3 callers
Method
getArmorStand
This returns the corresponding {@link ArmorStand} and also updates the "lastAccess" timestamp. <p> If the {@link ArmorStand} was removed, it will retu
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/holograms/Hologram.java:61
↓ 3 callers
Method
getCapacity
This method returns the max amount of electricity this machine can hold. @return The max amount of electricity this Block can store.
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AGenerator.java:215
↓ 3 callers
Method
getClimbableSurfaces
This method returns a {@link Collection} of every {@link ClimbableSurface} the {@link ClimbingPick} can climb. @return A {@link Collection} of every
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/ClimbingPick.java:113
↓ 3 callers
Method
getCommand
The {@link Command} that was added by Slimefun. @return Slimefun's command
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:969
↓ 3 callers
Method
getConfig
This returns the {@link Config} which is used to store the data. Only intended for internal usage. @return The {@link Config} associated with this {@
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:102
↓ 3 callers
Method
getConfigurationFromStream
(@Nonnull String file, @Nullable FileConfiguration defaults)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/LocalizationService.java:255
↓ 3 callers
Method
getCoolant
This method returns the {@link ItemStack} that is required to cool this {@link Reactor}. If it returns null, then no cooling is required. @return The
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/reactors/Reactor.java:238
↓ 3 callers
Method
getCurrentlyResearchingPlayers
This method returns a {@link Set} containing the {@link UUID} of every {@link Player} who is currently unlocking a {@link Research}. @return A {@link
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:188
↓ 3 callers
Method
getDefaultFile
(@Nonnull LanguageFile file)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:152
↓ 3 callers
Method
getDefaultMode
Get the default mode for the Slimefun guide. Currently this is only {@link SlimefunGuideMode#SURVIVAL_MODE}. @return The default {@link SlimefunGuide
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/SlimefunGuide.java:129
↓ 3 callers
Method
getDistance
(Player p, ItemStack item, Block block)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/TapeMeasure.java:119
↓ 3 callers
Method
getDownvotes
This method returns the amount of downvotes this {@link Script} has received. @return The amount of downvotes
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Script.java:171
↓ 3 callers
Method
getDrops
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:950
↓ 3 callers
Method
getEnchantments
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:392
↓ 3 callers
Method
getEnderVariant
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java:124
↓ 3 callers
Method
getGrapplingHookListener
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:949
↓ 3 callers
Method
getIdentifier
This method returns the identifier for this {@link ItemHandler}. We use a {@link Class} identifier to group Item Handlers together. @return The {@lin
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemHandler.java:53
↓ 3 callers
Method
getIngredients
This returns the {@link Collection} of ingredients as {@link Predicate Predicates}. @return The ingredients for this {@link AbstractRecipe}
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/AbstractRecipe.java:75
↓ 3 callers
Method
getInputSlots
()
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.java:293
↓ 3 callers
Method
getInputSlots
()
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AGenerator.java:128
↓ 3 callers
Method
getInstalledAddons
This method returns a {@link Set} of every {@link Plugin} that lists Slimefun as a required or optional dependency. <p> We will just assume this to be
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:1014
↓ 3 callers
Method
getInteractEvent
This returns the original {@link PlayerInteractEvent} that triggered this {@link PlayerRightClickEvent}. @return The original {@link PlayerInteractEv
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/PlayerRightClickEvent.java:87
↓ 3 callers
Method
getItemSetting
This method returns an {@link Optional} holding an {@link ItemSetting} with the given key and data type. Or an empty {@link Optional} if this {@link S
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:305
↓ 3 callers
Method
getJavaPlugin
This method returns the instance of {@link JavaPlugin} that this {@link SlimefunAddon} refers to. @return The instance of your {@link JavaPlugin}
src/main/java/io/github/thebusybiscuit/slimefun4/api/SlimefunAddon.java:36
↓ 3 callers
Method
getJavaVersion
()
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:265
↓ 3 callers
Method
getKey
(@Nonnull String key)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/compatibility/VersionedEntityType.java:27
↓ 3 callers
Method
getKey
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/recipes/RecipeType.java:141
↓ 3 callers
Method
getKeys
(@Nonnull FileConfiguration... files)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:435
↓ 3 callers
Method
getKeys
Returns all Paths in this Config @return All Paths in this Config
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java:171
↓ 3 callers
Method
getLastEntry
Retrieves the last page in the {@link SlimefunGuide} that was visited by a {@link Player}. Optionally also rewinds the history back to that entry. @p
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/GuideHistory.java:152
↓ 3 callers
Method
getLocation
This returns the {@link Location} where we will drop the item. @return The {@link Location} where the item will be dropped
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/SlimefunItemSpawnEvent.java:75
↓ 3 callers
Method
getMainMenuPage
This returns the current main menu page of this {@link GuideHistory} @return The main menu page of this {@link GuideHistory}
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/GuideHistory.java:68
↓ 3 callers
Method
getMenuClickHandler
Returns the MenuClickHandler which was registered for the specified Slot @param slot The Slot in the Inventory @return The MenuClickHandle
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:278
↓ 3 callers
Method
getMessageSuffix
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java:269
↓ 3 callers
Method
getMetricsService
This method returns the {@link MetricsService} of Slimefun. It is used to handle sending metric information to bStats. @return The {@link MetricsServ
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:905
↓ 3 callers
Method
getMobDrops
This returns a {@link Map} connecting the {@link EntityType} with a {@link Set} of {@link ItemStack ItemStacks} which would be dropped when an {@link
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:269
↓ 3 callers
Method
getModelData
This returns the configured custom model data for a given id. @param id The id to get the data for @return The configured custom model da
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/CustomTextureService.java:132
↓ 3 callers
Method
getMultiBlocks
This method returns a {@link List} of every enabled {@link MultiBlock}. @return A {@link List} containing every enabled {@link MultiBlock}
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:232
↓ 3 callers
Method
getName
This returns the name of this {@link Waypoint}. @return The name of this {@link Waypoint}
src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/Waypoint.java:124
↓ 3 callers
Method
getName
This returns the name of the waypoint. @return The name of this waypoint
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/WaypointCreateEvent.java:75
↓ 3 callers
Method
getNetworkFromLocation
(@Nonnull Location l)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/CargoNet.java:53
↓ 3 callers
Method
getNetworkList
This returns a {@link List} of every {@link Network} on the {@link Server}. The returned {@link List} is not modifiable. @return A {@link List} conta
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/NetworkManager.java:117
↓ 3 callers
Method
getNightEnergy
This method returns the amount of energy that this {@link SolarGenerator} produces during the night. @return The amount of energy generated at night
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/generators/SolarGenerator.java:74
↓ 3 callers
Method
getOutput
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/settings/GoldPanDrop.java:29
↓ 3 callers
Method
getOutputSlots
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/reactors/Reactor.java:276
↓ 3 callers
Method
getOutputSlots
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/ExpCollector.java:98
↓ 3 callers
Method
getPickWithEfficiency
(@Nonnull ClimbingPick pick, int level)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/TestClimbingPick.java:165
↓ 3 callers
Method
getPlayerStorage
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:1085
↓ 3 callers
Method
getPluginVersion
This method returns the version of this addon, it defaults to the version of the {@link JavaPlugin} provided by {@link SlimefunAddon#getJavaPlugin()}
src/main/java/io/github/thebusybiscuit/slimefun4/api/SlimefunAddon.java:63
↓ 3 callers
Method
getRecipeOutput
(@Nonnull ItemStack catalyst, @Nonnull List<ItemStack> inputs)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/AncientAltarListener.java:311
↓ 3 callers
Method
getRecipesFor
(@Nonnull ItemStack item)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/VanillaAutoCrafter.java:173
↓ 3 callers
Method
getSize
This returns the size of this {@link PlayerBackpack}. @return The size of this {@link PlayerBackpack}
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.java:136
↓ 3 callers
Method
getSkull
(@Nonnull String id, @Nonnull String texture)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:282
↓ 3 callers
Method
getSpeed
This method returns the speed at which this machine will operate. This can be implemented on an instantiation-level to create different tiers of machi
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.java:168
↓ 3 callers
Method
getThreadService
This method returns the {@link ThreadService} of Slimefun. <b>Do not use this if you're an addon. Please make your own {@link ThreadService}.</b> @re
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:1095
↓ 3 callers
Method
getTickerBlocks
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:290
↓ 3 callers
Method
getTimeLeft
(int seconds)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:174
↓ 3 callers
Method
getTriggerBlock
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/multiblocks/MultiBlock.java:88
↓ 3 callers
Method
getUniversalInventory
(Block block)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:843
↓ 3 callers
Method
getUpvotes
This method returns the amount of upvotes this {@link Script} has received. @return The amount of upvotes
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Script.java:162
↓ 3 callers
Method
getVersion
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/CustomTextureService.java:109
↓ 3 callers
Method
getVersion
()
src/main/java/io/github/thebusybiscuit/slimefun4/integrations/PlaceholderAPIIntegration.java:42
← previous
next →
601–700 of 4,048, ranked by callers