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
↓ 6 callers
Method
registerSlimefunItem
(Slimefun plugin, String id)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/TestClimbingPick.java:55
↓ 6 callers
Method
request
This requests an instance of {@link PlayerProfile} to be loaded for the given {@link OfflinePlayer}. This method will return true if the {@link Player
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:424
↓ 6 callers
Method
run
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/ArmorTask.java:75
↓ 6 callers
Method
setCharge
(@Nonnull ItemMeta meta, float charge, float capacity)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChargeUtils.java:39
↓ 6 callers
Method
setTexture
This sets the skin texture of this {@link Contributor} or clears it. @param skin The base64 skin texture or null
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/Contributor.java:223
↓ 6 callers
Method
simulateRightClickBlock
(Player player, T item, ItemStack heldItem, BlockMock block, BlockFace face)
src/test/java/io/github/thebusybiscuit/slimefun4/test/presets/SlimefunItemTest.java:53
↓ 6 callers
Method
spawnEntity
(Location l)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/WitherAssembler.java:71
↓ 6 callers
Method
toString
{@inheritDoc}
src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java:138
↓ 6 callers
Method
toString
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/Language.java:129
↓ 6 callers
Method
useBlock
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/PlayerRightClickEvent.java:165
↓ 5 callers
Method
addContributor
(@Nonnull String name, @Nonnull String role)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/GitHubService.java:100
↓ 5 callers
Method
build
Finishes the Creation of the Menu @return The ChestMenu Instance
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:208
↓ 5 callers
Method
checkPlurality
This method adds an s to a string if the supplied integer is not 1. @param string The string to potentially pluralize @param count The amou
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChatUtils.java:95
↓ 5 callers
Method
createReturnList
Returns a sublist from a given list containing items that start with the given string if string is not empty @param list The list to proce
src/main/java/io/github/thebusybiscuit/slimefun4/core/commands/SlimefunTabCompleter.java:80
↓ 5 callers
Method
createWorld
(ServerMock server)
src/test/java/io/github/thebusybiscuit/slimefun4/test/TestUtilities.java:103
↓ 5 callers
Method
damageItem
(@Nonnull Player p, @Nullable ItemStack item)
src/test/java/io/github/thebusybiscuit/slimefun4/test/mocks/MockDamageable.java:31
↓ 5 callers
Method
getAndroidType
This returns the {@link AndroidType} that is associated with this {@link ProgrammableAndroid}. @return The type of this {@link ProgrammableAndroid}
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ProgrammableAndroid.java:195
↓ 5 callers
Method
getBackButton
(@Nonnull Player p, String... lore)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChestMenuUtils.java:91
↓ 5 callers
Method
getBody
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/AbstractEntityAssembler.java:296
↓ 5 callers
Method
getCharge
(@Nonnull ItemMeta meta)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChargeUtils.java:66
↓ 5 callers
Method
getChatPrefix
This returns the chat prefix for our messages. Every message (unless explicitly omitted) will have this prefix prepended. @return The chat prefix
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:74
↓ 5 callers
Method
getClickedFace
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/PlayerRightClickEvent.java:120
↓ 5 callers
Method
getCost
Gets the cost in XP levels to unlock this {@link Research}. @return The cost in XP levels for this {@link Research}
src/main/java/io/github/thebusybiscuit/slimefun4/api/researches/Research.java:138
↓ 5 callers
Method
getDisplayRecipes
This is the list of items to display alongside this {@link SlimefunItem}. Note that these items will be filled in from top to bottom first. So if you
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/RecipeDisplayItem.java:43
↓ 5 callers
Method
getDummyItem
(String id, boolean damageable, @Nullable Enchantment enchantment, @Nullable Integer enchantmentLevel)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/items/TestDamageableItem.java:43
↓ 5 callers
Method
getElapsedTime
This returns the elapsed time since the given {@link LocalDateTime}. The output will be nicely formatted based on the elapsed hours or days since the
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:136
↓ 5 callers
Method
getEnergyConsumption
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/ExpCollector.java:186
↓ 5 callers
Method
getEnergyProduction
This method returns the amount of energy that is consumed per operation. @return The rate of energy consumption
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AGenerator.java:224
↓ 5 callers
Method
getFilePath
(@Nonnull Language language)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/LanguageFile.java:32
↓ 5 callers
Method
getFloat
(@Nullable Float value, float defaultValue)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:238
↓ 5 callers
Method
getGitHubService
This method returns the {@link GitHubService} of Slimefun. It is used to retrieve data from GitHub repositories. @return The {@link GitHubService} fo
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:927
↓ 5 callers
Method
getInput
()
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineFuel.java:50
↓ 5 callers
Method
getInt
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/ItemStackAndInteger.java:22
↓ 5 callers
Method
getItem
Returns the {@link SlimefunArmorPiece} that corresponds to this {@link HashedArmorpiece}, or an empty {@link Optional} @return An {@link Optional} de
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/HashedArmorpiece.java:97
↓ 5 callers
Method
getItemChargeDataKey
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:355
↓ 5 callers
Method
getItemId
Returns the id that was given to this {@link SlimefunItemStack}. @return The {@link SlimefunItem} id for this {@link SlimefunItemStack}
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:217
↓ 5 callers
Method
getKey
(@Nonnull String key)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/compatibility/VersionedPotionType.java:46
↓ 5 callers
Method
getKey
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/StatusEffect.java:36
↓ 5 callers
Method
getLanguage
(@Nonnull String id)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/LocalizationService.java:113
↓ 5 callers
Method
getLanguageCode
This returns the id of this {@link Language}. @return The language code
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/LanguagePreset.java:96
↓ 5 callers
Method
getNetworkComplexity
This method calculates the GPS complexity for the given {@link UUID}. The complexity is determined by the Y level of each {@link GPSTransmitter} multi
src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/GPSNetwork.java:105
↓ 5 callers
Method
getNetworkFromLocation
(@Nullable Location l, @Nonnull Class<T> type)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/NetworkManager.java:122
↓ 5 callers
Method
getNetworksFromLocation
(@Nullable Location l, @Nonnull Class<T> type)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/NetworkManager.java:139
↓ 5 callers
Method
getOutput
()
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineRecipe.java:22
↓ 5 callers
Method
getOutputSlots
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ProgrammableAndroid.java:664
↓ 5 callers
Method
getParents
Gets the list of parent item groups for this {@link LockedItemGroup}. @return the list of parent item groups @see #addParent(ItemGroup) @see #remove
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/groups/LockedItemGroup.java:109
↓ 5 callers
Method
getPreset
(@Nullable String id)
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenuPreset.java:287
↓ 5 callers
Method
getProfile
Returns a link to the GitHub profile of this {@link Contributor}. @return The GitHub profile of this {@link Contributor}
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/Contributor.java:115
↓ 5 callers
Method
getRandomOutput
This returns a random output {@link ItemStack} that can be obtained via this {@link GoldPan}. @return a random {@link ItemStack} obtained by this {@l
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/GoldPan.java:128
↓ 5 callers
Method
getRecipe
Retrieve the recipe for this {@link SlimefunItem}. @return An {@link ItemStack} array of 9 which represents the recipe for this {@link SlimefunItem}
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:239
↓ 5 callers
Method
getRecipeOutput
This method returns the result of crafting this {@link SlimefunItem} @return The recipe output of this {@link SlimefunItem}
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:258
↓ 5 callers
Method
getRecipes
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/multiblocks/MultiBlockMachine.java:76
↓ 5 callers
Method
getRecipes
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/altar/AncientAltar.java:65
↓ 5 callers
Method
getRecipesFor
This returns an array containing all {@link Recipe Recipes} for crafting the given {@link ItemStack}. @param item The {@link ItemStack} fo
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/MinecraftRecipeService.java:168
↓ 5 callers
Method
getResearch
This method returns the {@link Research} this {@link SlimefunItem} is linked to. This will be null if the item is not linked to any {@link Research}
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:268
↓ 5 callers
Method
getResourceString
(@Nonnull Player p, @Nonnull String key)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:303
↓ 5 callers
Method
getSize
This returns the size of this {@link SlimefunBackpack}. @return The size of this backpack
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/backpacks/SlimefunBackpack.java:50
↓ 5 callers
Method
getSlimefunItem
This returns the {@link SlimefunItem} associated with this {@link BlockMenuPreset}. @return The associated {@link SlimefunItem}
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenuPreset.java:282
↓ 5 callers
Method
getStringOrNull
(@Nullable Language language, LanguageFile file, String path)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:168
↓ 5 callers
Method
getSupplies
This method returns the amount of a certain {@link GEOResource} found in a given {@link Chunk}. The result is an {@link OptionalInt} which will be emp
src/main/java/io/github/thebusybiscuit/slimefun4/api/geo/ResourceManager.java:108
↓ 5 callers
Method
getTestCase
Get the current test case for this server or null if disabled @return The current test case to enable or null if disabled
src/main/java/io/github/thebusybiscuit/slimefun4/core/debug/Debug.java:131
↓ 5 callers
Method
getTexture
This returns the texture hash for this particular head. @return The associated texture hash
src/main/java/io/github/thebusybiscuit/slimefun4/utils/HeadTexture.java:142
↓ 5 callers
Method
getTexture
(@Nonnull String id, @Nonnull String texture)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:291
↓ 5 callers
Method
getVelocity
This returns the velocity {@link Vector} that was applied to the {@link Player} who used the {@link ClimbingPick}. @return The {@link Vector} of the
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/ClimbingPickLaunchEvent.java:54
↓ 5 callers
Method
getVersion
Returns the currently downloaded metrics version. This <strong>can change</strong>! It may be null or an older version before it has downloaded a newe
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/MetricsService.java:267
↓ 5 callers
Method
hashCode
{@inheritDoc}
src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/Waypoint.java:163
↓ 5 callers
Method
isChargeable
This returns whether this {@link EnergyNetComponent} can hold energy charges. It returns true if {@link #getCapacity()} returns a number greater than
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/EnergyNetComponent.java:61
↓ 5 callers
Method
isFinished
This returns whether this {@link MachineOperation} has finished. @return Whether this has finished or not.
src/main/java/io/github/thebusybiscuit/slimefun4/core/machines/MachineOperation.java:57
↓ 5 callers
Method
isItemAllowed
(ItemStack item, SlimefunItem itemAsSlimefunItem)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/backpacks/Cooler.java:33
↓ 5 callers
Method
isMarkedForDeletion
This method returns whether the {@link Player} has logged off. If this is true, then the Profile can be removed from RAM. @return Whether the Profile
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:122
↓ 5 callers
Method
isRegistered
This method returns whether this {@link ItemGroup} has been registered yet. More specifically: Whether {@link #register(SlimefunAddon)} was called or
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemGroup.java:127
↓ 5 callers
Method
isResearchingEnabled
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:202
↓ 5 callers
Method
isVirtual
This returns whether this {@link MinecraftVersion} is virtual or not. A virtual {@link MinecraftVersion} does not actually exist but is rather a state
src/main/java/io/github/thebusybiscuit/slimefun4/api/MinecraftVersion.java:178
↓ 5 callers
Method
logError
This method logs a {@link Throwable} that was caused by a {@link Plugin} we integrate into. Calling this method will probably log the error and provid
src/main/java/io/github/thebusybiscuit/slimefun4/integrations/IntegrationsManager.java:164
↓ 5 callers
Method
markDirty
Call this method if this Profile has unsaved changes.
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:252
↓ 5 callers
Method
mockCraftingEvent
(ItemStack item)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TestCraftingTableListener.java:52
↓ 5 callers
Method
mockInventory
(InventoryType type, ItemStack... contents)
src/test/java/io/github/thebusybiscuit/slimefun4/test/TestUtilities.java:48
↓ 5 callers
Method
onClick
(Player p, int slot, ItemStack item, ClickAction action)
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:323
↓ 5 callers
Method
openItemGroup
(PlayerProfile profile, ItemGroup group, int page)
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/SlimefunGuideImplementation.java:54
↓ 5 callers
Method
prepare
(SlimefunGuideImplementation guide, Consumer<GuideHistory> consumer)
src/test/java/io/github/thebusybiscuit/slimefun4/core/guide/TestGuideOpening.java:47
↓ 5 callers
Method
recharge
(@Nullable ItemStack item)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/gadgets/SolarHelmet.java:67
↓ 5 callers
Method
registerSlimefunItem
(Slimefun plugin, String id)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/TestTapeMeasure.java:46
↓ 5 callers
Method
reload
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/OreCrusher.java:259
↓ 5 callers
Method
removeHologram
This will remove the hologram for the given {@link Block}. @param b The {@link Block} to which the hologram blocks
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/HologramOwner.java:45
↓ 5 callers
Method
removeWaypoint
This removes the given {@link Waypoint} from the {@link List} of {@link Waypoint Waypoints} of this {@link PlayerProfile}. @param waypoint
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:235
↓ 5 callers
Method
reparseDouble
(double number)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:226
↓ 5 callers
Method
scheduleRepeating
(long delay, long interval)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/player/AbstractPlayerTask.java:27
↓ 5 callers
Method
setScript
(@Nonnull Location l, @Nonnull String script)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ProgrammableAndroid.java:585
↓ 5 callers
Method
setSize
This will change the current size of this Backpack to the specified size. @param size The new size for this Backpack
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.java:195
↓ 5 callers
Method
start
This will start this task for the given {@link Inventory}. @param inv The {@link Inventory} to start this task for
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/AsyncRecipeChoiceTask.java:49
↓ 5 callers
Method
toString
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemGroup.java:367
↓ 5 callers
Method
update
(Integer newValue)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/settings/GoldPanDrop.java:34
↓ 5 callers
Method
updateProgressBar
(@Nonnull BlockMenu inv, int slot, @Nonnull T operation)
src/main/java/io/github/thebusybiscuit/slimefun4/core/machines/MachineProcessor.java:242
↓ 4 callers
Method
add
(@Nonnull SlimefunItem item)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/groups/FlexItemGroup.java:79
↓ 4 callers
Method
addOfficialWikipage
This method will assign the given wiki page to this Item. Note that you only need to provide the page name itself, the URL to our wiki is prepended au
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:866
↓ 4 callers
Method
addParent
Adds a parent {@link ItemGroup} to this {@link LockedItemGroup}. @param group The {@link ItemGroup} to add as a parent @see #getParents()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/groups/LockedItemGroup.java:122
↓ 4 callers
Method
attack
(Block b, BlockFace face, Predicate<LivingEntity> predicate)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ButcherAndroid.java:35
↓ 4 callers
Method
canStack
This method is called by {@link SlimefunUtils#isItemSimilar} when two {@link SlimefunItemStack} IDs match on a DistinctiveItem and should return if th
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/DistinctiveItem.java:32
↓ 4 callers
Method
checkIfLocked
()
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenuPreset.java:54
↓ 4 callers
Method
clamp
This method is a combination of Math.min and Math.max, it clamps the given value between a minimum and a maximum. @param min The minimum v
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:255
← previous
next →
401–500 of 4,048, ranked by callers