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
↓ 2 callers
Method
getLong
(@Nullable Long value, long defaultValue)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:230
↓ 2 callers
Method
getMachineIdentifier
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/geo/OilPump.java:80
↓ 2 callers
Method
getMachineRecipes
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/blocks/Crucible.java:64
↓ 2 callers
Method
getMaxDeviation
Returns how much the value may deviate from the default supply (positive only). @return The deviation or spread of the supply
src/main/java/io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.java:55
↓ 2 callers
Method
getMaxItemCharge
This method returns the maximum charge the given {@link ItemStack} is capable of holding. @param item The {@link ItemStack} for which to d
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/Rechargeable.java:38
↓ 2 callers
Method
getMaxSize
This method returns the limit of nodes a {@link Network} can have. This value is read from the {@link Config} file. @return the maximum amount of nod
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/NetworkManager.java:88
↓ 2 callers
Method
getMaxUseCount
Returns the number of times this item can be used. @return The number of times this item can be used.
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/LimitedUseItem.java:59
↓ 2 callers
Method
getMenuCloseHandler
Returns the registered MenuCloseHandler @return The registered MenuCloseHandler
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:287
↓ 2 callers
Method
getMultiBlock
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/multiblocks/MultiBlockMachine.java:85
↓ 2 callers
Method
getMultiplier
(int y)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/gps/GPSTransmitter.java:71
↓ 2 callers
Method
getName
This method localizes the name of this {@link Language} in the selected {@link Language} of the given {@link Player}. @param p The {@link
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/Language.java:115
↓ 2 callers
Method
getNetworkFromLocation
This attempts to get an {@link EnergyNet} from a given {@link Location}. If no suitable {@link EnergyNet} could be found, {@code null} will be returne
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/energy/EnergyNet.java:321
↓ 2 callers
Method
getNumber
This returns the number of this floor. The lowest floor will have the number 0 and it increments from there. @return The number of this floor.
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/elevator/ElevatorFloor.java:87
↓ 2 callers
Method
getOptionValue
Helper method to get the value of a {@link SlimefunGuideOption} that the {@link Player} has set in their {@link SlimefunGuide} @param p Th
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/options/SlimefunGuideSettings.java:271
↓ 2 callers
Method
getOrderType
The order type for the summary of timings. @return The order type for the summary of timings.
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/PerformanceInspector.java:46
↓ 2 callers
Method
getOutput
()
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineFuel.java:54
↓ 2 callers
Method
getOutputSlotRange
(@Nonnull Inventory inv)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/CargoUtils.java:105
↓ 2 callers
Method
getOutputSlots
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricSmeltery.java:140
↓ 2 callers
Method
getOwnerId
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.java:127
↓ 2 callers
Method
getPage
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/GuideEntry.java:20
↓ 2 callers
Method
getParameters
This {@link Map} contains the query parameters for our {@link URL}. @return A {@link Map} with our query parameters
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/GitHubConnector.java:81
↓ 2 callers
Method
getPercentageOfTick
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/SlimefunProfiler.java:344
↓ 2 callers
Method
getPlanks
This method returns the corresponding plank {@link Material} for a given wood {@link Material}. The result is wrapped by an {@link Optional}. <p> {@li
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/TableSaw.java:83
↓ 2 callers
Method
getPosition
This returns the position on where to order this {@link Contributor}. This is just a convenience method for a {@link Comparator}, it is equivalent to
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/Contributor.java:256
↓ 2 callers
Method
getPotionEffects
An Array of {@link PotionEffect PotionEffects} which get applied to a {@link Player} wearing this {@link SlimefunArmorPiece}. @return An array of eff
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/armor/SlimefunArmorPiece.java:32
↓ 2 callers
Method
getPresetSlots
()
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenuPreset.java:199
↓ 2 callers
Method
getProgressBar
This returns the progress bar icon for this {@link MachineProcessor} or null if no progress bar was set. @return The progress bar icon or null
src/main/java/io/github/thebusybiscuit/slimefun4/core/machines/MachineProcessor.java:69
↓ 2 callers
Method
getProgressBar
This method returns the {@link ItemStack} that this {@link AContainer} will use as a progress bar. Override this method to set the progress bar. @re
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.java:140
↓ 2 callers
Method
getRadioactiveItems
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:285
↓ 2 callers
Method
getRandomDust
This returns a random dust item from Slimefun. @return A randomly picked dust item
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/OreWasher.java:186
↓ 2 callers
Method
getReactorMode
(@Nonnull Location l)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/reactors/Reactor.java:219
↓ 2 callers
Method
getRedstone
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/OreCrusher.java:273
↓ 2 callers
Method
getRegulator
This returns the {@link Location} of the regulator block for this {@link Network} @return The {@link Location} of our regulator
src/main/java/io/github/thebusybiscuit/slimefun4/api/network/Network.java:260
↓ 2 callers
Method
getRemainingTicks
This returns the amount of remaining ticks until the {@link MachineOperation} finishes. @return The amount of remaining ticks.
src/main/java/io/github/thebusybiscuit/slimefun4/core/machines/MachineOperation.java:48
↓ 2 callers
Method
getRequiredType
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Instruction.java:278
↓ 2 callers
Method
getScript
(@Nonnull Location l)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ProgrammableAndroid.java:578
↓ 2 callers
Method
getSelectedOption
(@Nonnull Player p, @Nonnull ItemStack guide)
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/options/LearningAnimationOption.java:65
↓ 2 callers
Method
getSelectedOption
(@Nonnull Player p, @Nonnull ItemStack guide)
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/options/GuideModeOption.java:102
↓ 2 callers
Method
getSelectedOption
(Player p, ItemStack guide)
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/options/FireworksOption.java:54
↓ 2 callers
Method
getSelectedRecipe
This method returns the currently selected {@link AbstractRecipe} for the given {@link Block}. @param b The {@link Block} @return The cur
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/AbstractAutoCrafter.java:216
↓ 2 callers
Method
getShape
(@Nonnull Recipe recipe)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/VanillaRecipe.java:68
↓ 2 callers
Method
getSlimefunItemIds
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:295
↓ 2 callers
Method
getSoulboundDataKey
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:350
↓ 2 callers
Method
getSoundId
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/sounds/SoundConfiguration.java:26
↓ 2 callers
Method
getSourceCode
This method returns the actual code of this {@link Script}. It is basically a {@link String} describing the order of {@link Instruction Instructions}
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Script.java:93
↓ 2 callers
Method
getStoredExperience
(Location location)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/ExpCollector.java:174
↓ 2 callers
Method
getStringListOrNull
(@Nullable Language language, LanguageFile file, String path)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:203
↓ 2 callers
Method
getSubTags
This returns a {@link Set} of {@link Tag Tags} which are children of this {@link SlimefunTag}, these can be other {@link SlimefunTag SlimefunTags} or
src/main/java/io/github/thebusybiscuit/slimefun4/utils/tags/SlimefunTag.java:402
↓ 2 callers
Method
getSupportedTags
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/multiblocks/MultiBlock.java:47
↓ 2 callers
Method
getTalisman
@return The {@link Talisman} used.
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/TalismanActivateEvent.java:47
↓ 2 callers
Method
getTalismanItem
@return The {@link ItemStack} of the used {@link Talisman}.
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/TalismanActivateEvent.java:54
↓ 2 callers
Method
getTeleportationTime
This returns the amount of time it will take to teleport from the source {@link Location} to the destination {@link Location}, given the specified com
src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/TeleportationManager.java:156
↓ 2 callers
Method
getThrust
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/gadgets/Jetpack.java:37
↓ 2 callers
Method
getTickRate
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/SlimefunProfiler.java:374
↓ 2 callers
Method
getTitle
This method gets the research title, as defined in {@code config.yml}, of this {@link PlayerProfile} based on the fraction of unlocked {@link Research
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:300
↓ 2 callers
Method
getTitle
This returns the title of this {@link BlockMenuPreset}, the title will be visible in every {@link InventoryView} for any menu created using this {@lin
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenuPreset.java:186
↓ 2 callers
Method
getTotalKeys
(@Nonnull Language lang)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:431
↓ 2 callers
Method
getTotalTicks
This returns the amount of total ticks this {@link MachineOperation} takes to complete. @return The amount of total ticks required.
src/main/java/io/github/thebusybiscuit/slimefun4/core/machines/MachineOperation.java:40
↓ 2 callers
Method
getUnlocalizedName
This method makes Walshy happy. It adds a way to get the name of a {@link ItemGroup} without localization nor coloring. @return The unlocalized name
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemGroup.java:240
↓ 2 callers
Method
getUnsavedChanges
()
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/DirtyChestMenu.java:52
↓ 2 callers
Method
getUploadedScripts
(@Nonnull AndroidType androidType)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Script.java:216
↓ 2 callers
Method
getVolume
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/sounds/SoundConfiguration.java:30
↓ 2 callers
Method
goBack
This method opens the previous entry to the associated {@link PlayerProfile}. More precisely, it will remove the last entry and open the second-last e
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/GuideHistory.java:183
↓ 2 callers
Method
hasBackpack
(Player player, int id)
src/test/java/io/github/thebusybiscuit/slimefun4/core/commands/TestBackpackCommand.java:42
↓ 2 callers
Method
hasDiverged
This method checks whether the given {@link ItemStack} is no longer similar to the one represented by this {@link HashedArmorpiece}. @param stack
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/HashedArmorpiece.java:79
↓ 2 callers
Method
hasIgnoredLore
(@Nonnull ItemStack item)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/enchanting/AbstractEnchantmentMachine.java:74
↓ 2 callers
Method
hasIllegalEnchants
(@Nullable Map<Enchantment, Integer> enchantments)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/enchanting/BookBinder.java:109
↓ 2 callers
Method
hasLanguage
(@Nonnull String id)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/LocalizationService.java:126
↓ 2 callers
Method
hasResearch
This returns whether this {@link SlimefunItem} has a {@link Research} assigned to it. It is equivalent to a null check performed on {@link #getResearc
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:279
↓ 2 callers
Method
hasTexture
This method will return whether this instance of {@link Contributor} has pulled a texture yet. @return Whether this {@link Contributor} has been assi
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/Contributor.java:213
↓ 2 callers
Method
hashCode
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemGroup.java:362
↓ 2 callers
Method
heal
This method heals the given {@link LivingEntity} by the amount provided via the constructor. @param n The {@link LivingEntity} to heal
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/medical/MedicalSupply.java:74
↓ 2 callers
Method
insertIntoVanillaInventory
(@Nonnull ItemStack stack, @Nonnull ItemStackWrapper wrapper, boolean smartFill, @Nonnull Inventory inv)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/CargoUtils.java:314
↓ 2 callers
Method
isAccessible
This method returns whether this {@link ItemGroup} can be accessed by the given {@link Player}. If an {@link ItemGroup} is not accessible, it will not
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemGroup.java:295
↓ 2 callers
Method
isAllowed
(String id, ItemStack item)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TestBackpackListener.java:137
↓ 2 callers
Method
isCancelled
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/BlockPlacerPlaceEvent.java:87
↓ 2 callers
Method
isCompatible
(@Nullable ItemStack item)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/enchanting/BookBinder.java:105
↓ 2 callers
Method
isConsumable
This returns whether the {@link Talisman} will be consumed upon use. @return Whether this {@link Talisman} is consumed on use.
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java:101
↓ 2 callers
Method
isDamageable
()
src/test/java/io/github/thebusybiscuit/slimefun4/test/mocks/MockDamageable.java:26
↓ 2 callers
Method
isDefault
This method returns whether this {@link Language} is also the default {@link Language} of this {@link Server}. @return Whether this is the default {@
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/Language.java:125
↓ 2 callers
Method
isDirty
()
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/DirtyChestMenu.java:48
↓ 2 callers
Method
isEnchantable
This returns whether or not this {@link SlimefunItem} is allowed to be used in an {@link AutoEnchanter}. @return Whether this {@link SlimefunItem} ca
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:322
↓ 2 callers
Method
isEnchantmentAmountAllowed
(int numberOfEnchants)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/enchanting/AbstractEnchantmentMachine.java:94
↓ 2 callers
Method
isEnchantmentBookAllowed
This method checks whether enchantment books can be given an extra {@link Enchantment} or not. @return Whether enchantment books can receive an extra
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/MagicianTalisman.java:108
↓ 2 callers
Method
isEnchantmentLevelAllowed
(int enchantmentLevel)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/enchanting/AbstractEnchantmentMachine.java:59
↓ 2 callers
Method
isEventCancelled
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java:120
↓ 2 callers
Method
isFertilizer
(@Nullable ItemStack item)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/accelerators/TreeGrowthAccelerator.java:122
↓ 2 callers
Method
isInventory
(String id)
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenuPreset.java:292
↓ 2 callers
Method
isLenient
This method returns whether this parser is flagged as "lenient". <p> A lenient parser will not throw a {@link BiomeMapException} if the {@link Biome}
src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMapParser.java:96
↓ 2 callers
Method
isOutputLimitOverridden
This returns whether the {@link ElectricGoldPan} will stop processing inputs if both output slots contain items or if that default behavior should be
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricGoldPan.java:68
↓ 2 callers
Method
isResearchFireworkEnabled
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:214
↓ 2 callers
Method
isSilent
This returns whether the {@link Talisman} is silent. A silent {@link Talisman} will not send a message to a {@link Player} when activated. @return Wh
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java:265
↓ 2 callers
Method
isSource
This method checks if the given {@link Block} is a liquid source {@link Block}. @param block The {@link Block} in question @return Whethe
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/FluidPump.java:238
↓ 2 callers
Method
isTicking
This returns whether or not we are scheduling a ticking task for this block. @return Whether this {@link SlimefunItem} is a ticking block
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:937
↓ 2 callers
Method
isType
(@Nonnull AndroidType type)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/AndroidType.java:60
↓ 2 callers
Method
isUnallowed
(@Nullable SlimefunItem item)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/VillagerTradingListener.java:56
↓ 2 callers
Method
isValidInput
This returns whether the {@link GoldPan} accepts the {@link ItemStack} as an input @param itemStack The {@link ItemStack} to check @retur
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/GoldPan.java:206
↓ 2 callers
Method
isValidInventory
This method checks if the given {@link Block} has a valid {@link Inventory} where the Auto Crafter could be placed upon. Right now this only supports
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/AbstractAutoCrafter.java:201
↓ 2 callers
Method
isVisible
(Player p, PlayerProfile profile, SlimefunGuideMode layout)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/registration/TestItemGroups.java:221
↓ 2 callers
Method
isVisible
(Player p, PlayerProfile profile, SlimefunGuideMode layout)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/RickFlexGroup.java:32
← previous
next →
901–1,000 of 4,048, ranked by callers