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
↓ 35 callers
Method
canUse
This method checks if the given {@link Player} is able to use this {@link SlimefunItem}. A {@link Player} can use it if the following conditions apply
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:1058
↓ 35 callers
Method
getInputSlots
This method returns an {@link Array} of slots that serve as the input for the {@link Inventory} of this block. @return The input slots for the {@link
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.java:31
↓ 35 callers
Method
hasBlockInfo
(Block block)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:552
↓ 34 callers
Method
getProtectionManager
This returns out instance of the {@link ProtectionManager}. This bridge is used to hook into any third-party protection {@link Plugin}. @return Our i
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:884
↓ 34 callers
Method
powerBuffer
(int power)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/LoreBuilder.java:48
↓ 34 callers
Method
setLore
(List<String> lore)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:517
↓ 34 callers
Method
warn
This will send a warning to the console and signal that this warning came from this {@link SlimefunItem}, the warning will be sent using the {@link Lo
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:984
↓ 33 callers
Method
getResearches
()
src/main/java/io/github/thebusybiscuit/slimefun4/storage/data/PlayerData.java:37
↓ 33 callers
Method
isValid
This returns whether this {@link PerformanceInspector} is still valid. An inspector will become invalid if they leave the {@link Server}. @return Whe
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/PerformanceInspector.java:23
↓ 32 callers
Method
wrap
Creates an {@link ItemStackWrapper} of an {@link ItemStack}. This method will return the the casted reference of the passed {@link ItemStack} if it is
src/main/java/io/github/thebusybiscuit/slimefun4/utils/itemstack/ItemStackWrapper.java:132
↓ 31 callers
Method
getKey
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/BlockDataService.java:53
↓ 31 callers
Method
getVersion
This returns the version of Slimefun that is currently installed. @return The currently installed version of Slimefun
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:753
↓ 31 callers
Method
validateInstance
This private static method allows us to throw a proper {@link Exception} whenever someone tries to access a static method while the instance is null.
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:730
↓ 29 callers
Method
getItem
This returns the {@link ItemStack} of this {@link SlimefunItem}. The {@link ItemStack} describes the look and feel of this {@link SlimefunItem}. @ret
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:220
↓ 29 callers
Method
powerCharged
(int charge, int capacity)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/LoreBuilder.java:60
↓ 27 callers
Method
containsKey
(@Nonnull Biome biome)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java:80
↓ 27 callers
Method
hasPermission
This method checks whether the given {@link Permissible} has the {@link Permission} to access the given {@link SlimefunItem}. @param p The
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/PermissionsService.java:88
↓ 27 callers
Method
setValue
Sets the Value for the specified Path @param path The path in the Config File @param value The Value for that Path
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java:84
↓ 27 callers
Method
toString
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/VanillaRecipe.java:108
↓ 25 callers
Method
addUnsafeEnchantments
(Map<Enchantment, Integer> enchantments)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:404
↓ 25 callers
Method
getBlockData
This method returns the NBT data previously stored inside this {@link Block}. @param b The {@link Block} to retrieve data from @return Th
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/BlockDataService.java:100
↓ 25 callers
Method
isDisabled
This method returns whether this {@link SlimefunItem} is disabled. @return Whether this {@link SlimefunItem} is disabled.
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:371
↓ 24 callers
Method
find
This method tries to search for a {@link PlayerProfile} of the given {@link OfflinePlayer}. The result of this method is an {@link Optional}, if no {@
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:470
↓ 24 callers
Method
getById
Retrieve a {@link SlimefunItem} by its id. @param id The id of the {@link SlimefunItem} @return The {@link SlimefunItem} associated with t
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:1140
↓ 24 callers
Method
getName
Returns the name of this resource (e.g. "Oil") @return The name of this Resource
src/main/java/io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.java:62
↓ 24 callers
Method
getWorld
This returns the {@link World} in which this event takes place. @return The affected {@link World}
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/GEOResourceGenerationEvent.java:83
↓ 24 callers
Method
isBefore
This checks whether this {@link MinecraftVersion} is older than the specified {@link MinecraftVersion}. An unknown version will default to {@literal
src/main/java/io/github/thebusybiscuit/slimefun4/api/MinecraftVersion.java:270
↓ 24 callers
Method
toInventory
Converts this ChestMenu Instance into a normal Inventory @return The converted Inventory
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:316
↓ 23 callers
Method
getGPSNetwork
This returns our {@link GPSNetwork} instance. The {@link GPSNetwork} is responsible for handling any GPS-related operations and for managing any {@lin
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:780
↓ 23 callers
Method
getOutputSlots
This method returns an {@link Array} of slots that serve as the output for the {@link Inventory} of this block. @return The output slots for the {@li
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.java:39
↓ 23 callers
Method
getString
(@Nullable Language language, LanguageFile file, String path)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:197
↓ 23 callers
Method
material
(@Nonnull String material)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/LoreBuilder.java:64
↓ 23 callers
Method
open
Opens this Menu for the specified Player/s @param players The Players who will see this Menu
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:261
↓ 22 callers
Method
getBackground
()
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChestMenuUtils.java:63
↓ 22 callers
Method
getProfiler
This returns our instance of the {@link SlimefunProfiler}, a tool that is used to analyse performance and lag. @return The {@link SlimefunProfiler}
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:980
↓ 22 callers
Method
remove
Removes the given {@link SlimefunItem} from this {@link ItemGroup}. @param item the {@link SlimefunItem} that should be removed from this
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemGroup.java:202
↓ 22 callers
Method
toArray
This method returns an Array representation for this {@link SlimefunTag}. @return A {@link Material} array for this {@link Tag}
src/main/java/io/github/thebusybiscuit/slimefun4/utils/tags/SlimefunTag.java:411
↓ 21 callers
Method
clone
(@Nonnull DirtyChestMenu menu)
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenuPreset.java:225
↓ 21 callers
Method
dropItems
This method drops the contents of this {@link BlockMenu} on the ground at the given {@link Location}. @param l Where to drop these items @
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenu.java:103
↓ 21 callers
Method
getAsItemStack
(@Nonnull ProgrammableAndroid android, @Nonnull Player p)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Script.java:130
↓ 21 callers
Method
getId
Returns the identifier of this {@link SlimefunItem}. @return the identifier of this {@link SlimefunItem}
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:197
↓ 21 callers
Method
getItemStack
This returns the placed {@link ItemStack}. @return The placed {@link ItemStack}
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/BlockPlacerPlaceEvent.java:66
↓ 21 callers
Method
hasUnlocked
This method returns whether the {@link Player} has unlocked the given {@link Research} @param research The {@link Research} that is being
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:171
↓ 21 callers
Method
matches
(@Nonnull ItemStack item, @Nonnull Predicate<ItemStack> predicate)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/VanillaAutoCrafter.java:95
↓ 20 callers
Method
callItemHandler
This method calls every {@link ItemHandler} of the given {@link Class} and performs the action as specified via the {@link Consumer}. @param c
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:915
↓ 20 callers
Method
getDrops
(Material material, Random random)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/miner/OreDictionary.java:21
↓ 20 callers
Method
getItemGroup
(Plugin plugin, String name)
src/test/java/io/github/thebusybiscuit/slimefun4/test/TestUtilities.java:58
↓ 20 callers
Method
setPistonState
(@Nonnull Block block, boolean extended)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/miner/MiningTask.java:336
↓ 20 callers
Method
setResearchingEnabled
(boolean enabled)
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:198
↓ 19 callers
Method
assertMisconfiguration
(BiomeDataConverter<T> function, String json)
src/test/java/io/github/thebusybiscuit/slimefun4/utils/biomes/TestBiomeMapParser.java:129
↓ 19 callers
Method
equalsLore
This checks if the two provided lores are equal. This method will ignore any lines such as the soulbound one. @param lore1 The first lore
src/main/java/io/github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java:523
↓ 19 callers
Method
getDefaultSupply
Returns the default supply of this resource in that biome @param environment The {@link Environment} this area is currently in (NORMAL / N
src/main/java/io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.java:48
↓ 19 callers
Method
getDescription
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/commands/SubCommand.java:68
↓ 19 callers
Method
getGuideHistory
This returns the {@link GuideHistory} of this {@link Player}. It is basically that player's browsing history. @return The {@link GuideHistory} of thi
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:348
↓ 19 callers
Method
getItemName
This method will return this Item's Name (The name that is displayed when hovering over this {@link ItemStack} in an {@link Inventory}). @return This
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:889
↓ 19 callers
Method
getWorlds
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:327
↓ 19 callers
Method
hasItemMeta
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:436
↓ 19 callers
Method
iterator
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:474
↓ 19 callers
Method
randomInt
()
src/test/java/io/github/thebusybiscuit/slimefun4/test/TestUtilities.java:93
↓ 19 callers
Method
setDefaultValue
Sets the Value for the specified Path (IF the Path does not yet exist) @param path The path in the Config File @param value The
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java:118
↓ 18 callers
Method
addUnsafeEnchantment
(Enchantment ench, int level)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:408
↓ 18 callers
Method
drawBackground
(@Nonnull ChestMenu menu, int... slots)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChestMenuUtils.java:141
↓ 18 callers
Method
equals
{@inheritDoc}
src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/Waypoint.java:171
↓ 18 callers
Method
getCharge
This returns the currently stored charge at a given {@link Location}. @param l The target {@link Location} @return The charge stored at t
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/EnergyNetComponent.java:73
↓ 18 callers
Method
getCompactDouble
(double value)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:55
↓ 18 callers
Method
getInt
This method parses a {@link String} into an {@link Integer}. If the {@link String} could not be parsed correctly, the provided default value will be r
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:199
↓ 18 callers
Method
getOrDefault
(@Nonnull Biome biome, T defaultValue)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java:74
↓ 18 callers
Method
getTickerTask
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:785
↓ 18 callers
Method
isItem
This method checks whether the provided {@link ItemStack} represents this {@link SlimefunItem}. @param item The {@link ItemStack} to compa
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:751
↓ 18 callers
Method
pushItem
(Block b, ItemStack output)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/blocks/Composter.java:110
↓ 18 callers
Method
remove
This will remove the {@link ArmorStand} and expire this {@link Hologram}.
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/holograms/Hologram.java:126
↓ 17 callers
Method
accept
This method is called when the {@link GitHubIssuesConnector} finished loading. @param issues The amount of open Issues @param pullRequests
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/IssuesCallback.java:14
↓ 17 callers
Method
fits
(@Nonnull ItemStack item, int... slots)
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/DirtyChestMenu.java:79
↓ 17 callers
Method
getItemCfg
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:768
↓ 17 callers
Method
setItem
This method will change the item that would be dropped by the {@link AncientAltar} @param output being the {@link ItemStack} you want to c
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/AncientAltarCraftEvent.java:78
↓ 16 callers
Method
assertMisconfiguration
(@Nonnull String json)
src/test/java/io/github/thebusybiscuit/slimefun4/utils/tags/TestTagParser.java:101
↓ 16 callers
Method
getCfg
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:758
↓ 16 callers
Method
getPersistentDataContainer
(@Nonnull BlockState state)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/BlockDataService.java:113
↓ 16 callers
Method
getWaypoints
This returns a {@link List} of all {@link Waypoint Waypoints} belonging to this {@link PlayerProfile}. @return A {@link List} containing every {@link
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:212
↓ 15 callers
Method
addItem
(int slot, @Nullable ItemStack item)
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenuPreset.java:140
↓ 15 callers
Method
clear
This method will clear this {@link GuideHistory} and remove all entries.
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/GuideHistory.java:47
↓ 15 callers
Method
createBackpack
(int size)
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:257
↓ 15 callers
Method
getAddon
This returns the {@link SlimefunAddon} which added this {@link SlimefunGuideOption}. @return The registering {@link SlimefunAddon}
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/options/SlimefunGuideOption.java:29
↓ 15 callers
Method
getStorage
(@Nonnull World world)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:69
↓ 15 callers
Method
setBlockData
This will store the given {@link String} inside the NBT data of the given {@link Block} @param b The {@link Block} in which to store the g
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/BlockDataService.java:66
↓ 15 callers
Method
setVelocity
Use this to change the velocity {@link Vector} applied to the {@link Player}. @param velocity The {@link Vector} velocity to apply
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/ClimbingPickLaunchEvent.java:65
↓ 15 callers
Method
trigger
(Event e, SlimefunItemStack stack)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java:150
↓ 15 callers
Method
update
()
src/main/java/me/mrCookieSlime/Slimefun/Objects/handlers/BlockTicker.java:18
↓ 14 callers
Method
error
This will throw a {@link Throwable} to the console and signal that this was caused by this {@link SlimefunItem}. @param message The messag
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:1006
↓ 14 callers
Method
findOutputInventory
Overloaded method for finding a potential output chest. Fallbacks to the old system of putting the adding back into the dispenser. Optional last argum
src/main/java/io/github/thebusybiscuit/slimefun4/core/multiblocks/MultiBlockMachine.java:162
↓ 14 callers
Method
getClimbingSpeed
This returns the climbing speed for a given {@link Material}. @param type The {@link Material} @return The climbing speed for this {@link
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/ClimbingPick.java:126
↓ 14 callers
Method
getHand
This returns the hand that was used in this interaction. Can either be {@code EquipmentSlot.HAND} or {@code EquipmentSlot.OFF_HAND}. @return The hand
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/PlayerRightClickEvent.java:110
↓ 14 callers
Method
getOutput
Gets the output of the craft. @return The {@link ItemStack} output that results from the craft.
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/MultiBlockCraftEvent.java:84
↓ 14 callers
Method
getString
Returns the String at the specified Path @param path The path in the Config File @return The String at that Path
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java:153
↓ 14 callers
Method
getValue
Returns the Object at the specified Path @param path The path in the Config File @return The Value at that Path
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java:142
↓ 14 callers
Method
isCancelled
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/MultiBlockCraftEvent.java:102
↓ 14 callers
Method
isMinecraftVersion
This tests if the given minecraft version number matches with this {@link MinecraftVersion}. <p> You can obtain the version number by doing {@link Pap
src/main/java/io/github/thebusybiscuit/slimefun4/api/MinecraftVersion.java:196
↓ 14 callers
Method
openInventory
(Player p, SlimefunItem item, Block clickedBlock, PlayerRightClickEvent event)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/SlimefunItemInteractListener.java:143
↓ 14 callers
Method
registerFuelType
(@Nonnull MachineFuel fuel)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ProgrammableAndroid.java:631
↓ 14 callers
Method
removeItem
(Player p, Block b, Inventory inputInv, @Nullable Inventory outputInv, ItemStack input, ItemStack output, int
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/OreWasher.java:166
← previous
next →
101–200 of 4,048, ranked by callers