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
clear
This will remove this {@link StatusEffect} from the given {@link Player}. @param p The {@link Player} to clear it from
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/StatusEffect.java:139
↓ 2 callers
Method
clearInventory
(Location l)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:820
↓ 2 callers
Method
clearNegativeEffects
This method clears any negative {@link PotionEffect} from the given {@link LivingEntity}. @param n The {@link LivingEntity} to clear the e
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/medical/MedicalSupply.java:60
↓ 2 callers
Method
computeChanges
()
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:290
↓ 2 callers
Method
consumeFuel
This consumes fuel from the given {@link Chest}.
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/miner/MiningTask.java:300
↓ 2 callers
Method
consumeItem
(int slot)
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/DirtyChestMenu.java:145
↓ 2 callers
Method
containsValue
(@Nonnull T value)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java:86
↓ 2 callers
Method
createInteractEvent
(EquipmentSlot hand, ItemStack item)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TestPiglinListener.java:59
↓ 2 callers
Method
createPickupEvent
(ItemStack item)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TestPiglinListener.java:50
↓ 2 callers
Method
deleteDirectory
(File folder)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/FileUtils.java:7
↓ 2 callers
Method
deleteInstruction
(String[] script, int index)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ProgrammableAndroid.java:353
↓ 2 callers
Method
deleteLocationInfoUnsafely
<strong>Do not call this method!</strong>. This method is used for internal purposes only. @param l The {@link Location} @param destroy
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:655
↓ 2 callers
Method
deleteRecipe
(Player p, Block b)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/AbstractAutoCrafter.java:343
↓ 2 callers
Method
deserializeLocation
(String l)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:93
↓ 2 callers
Method
disableTicker
This method disables the ticker at the given {@link Location} and removes it from our internal "queue". @param l The {@link Location} to r
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/TickerTask.java:375
↓ 2 callers
Method
discoverNeighbors
(@Nonnull Location l, double xDiff, double yDiff, double zDiff)
src/main/java/io/github/thebusybiscuit/slimefun4/api/network/Network.java:228
↓ 2 callers
Method
doubleTalismanDrops
(BlockDropItemEvent e, SlimefunItemStack talismanItemStack, SlimefunTag tag, Material type, ItemMeta meta)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TalismanListener.java:350
↓ 2 callers
Method
download
Downloads the version specified to Slimefun's data folder. @param version The version to download.
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/MetricsService.java:222
↓ 2 callers
Method
editInstruction
(Player p, Block b, String[] script, int index)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ProgrammableAndroid.java:551
↓ 2 callers
Method
enableTicker
This enables the ticker at the given {@link Location} and adds it to our "queue". @param l The {@link Location} to activate
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/TickerTask.java:343
↓ 2 callers
Method
equals
{@inheritDoc}
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:318
↓ 2 callers
Method
equals
(Object obj)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemGroup.java:353
↓ 2 callers
Method
findNextFluid
(@Nonnull Block fluid)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/FluidPump.java:175
↓ 2 callers
Method
findResource
(BlockMenu menu, ItemStack item, int[] slots)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/AbstractEntityAssembler.java:232
↓ 2 callers
Method
forceWrap
Creates an {@link ItemStackWrapper} of an {@link ItemStack}. This method will not check if the passed {@link ItemStack} has already been wrapped @par
src/main/java/io/github/thebusybiscuit/slimefun4/utils/itemstack/ItemStackWrapper.java:116
↓ 2 callers
Method
getAccessPort
(@Nonnull Location l)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/reactors/Reactor.java:479
↓ 2 callers
Method
getAddon
This method returns the {@link SlimefunAddon} that registered this {@link SlimefunItem}. If this Item is from Slimefun itself, the current instance of
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:408
↓ 2 callers
Method
getAddon
This returns the {@link SlimefunAddon} which has registered this {@link ItemGroup}. Or null if it has not been registered yet. @return The {@link Sli
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemGroup.java:171
↓ 2 callers
Method
getAltars
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/AncientAltarListener.java:83
↓ 2 callers
Method
getAnalyticsService
This method returns the {@link AnalyticsService} of Slimefun. It is used to handle sending analytic information. @return The {@link AnalyticsService}
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:916
↓ 2 callers
Method
getArmorSetId
This returns the armor set {@link NamespacedKey} of this {@link SlimefunArmorPiece}. @return The set {@link NamespacedKey}, <code>null</code> if none
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/ProtectiveArmor.java:51
↓ 2 callers
Method
getArmorStand
(@Nonnull Block pedestal, boolean createIfNoneExists)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/altar/AncientPedestal.java:106
↓ 2 callers
Method
getAsEnumConstant
This will attempt to get the configured value as a constant of the desired {@link Enum}. @return The value as an {@link Enum} constant
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/settings/EnumSetting.java:58
↓ 2 callers
Method
getAsHologram
This will cast the {@link Entity} to an {@link ArmorStand} and it will apply all necessary attributes to the {@link ArmorStand}, then return a {@link
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/holograms/HologramsService.java:215
↓ 2 callers
Method
getAttachedBlock
(@Nonnull Location l)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/AbstractItemNetwork.java:51
↓ 2 callers
Method
getBackpack
(int id)
src/main/java/io/github/thebusybiscuit/slimefun4/storage/data/PlayerData.java:56
↓ 2 callers
Method
getBackpacks
()
src/main/java/io/github/thebusybiscuit/slimefun4/storage/data/PlayerData.java:51
↓ 2 callers
Method
getBarteringDrops
This returns a {@link Set} of {@link ItemStack ItemStacks} which can be obtained by bartering with {@link Piglin Piglins}. @return A {@link Set} of b
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:280
↓ 2 callers
Method
getBlockInfoAsJson
(Block block)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:930
↓ 2 callers
Method
getBlocksOfId
(@Nonnull String id)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/SlimefunProfiler.java:318
↓ 2 callers
Method
getBowListener
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:959
↓ 2 callers
Method
getByChunk
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/SlimefunProfiler.java:285
↓ 2 callers
Method
getByItem
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/SlimefunProfiler.java:263
↓ 2 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/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/AbstractAutoCrafter.java:490
↓ 2 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/io/github/thebusybiscuit/slimefun4/implementation/items/geo/GEOMiner.java:85
↓ 2 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/AContainer.java:147
↓ 2 callers
Method
getChance
This returns the chance of this {@link Talisman} activating. The chance will be between 1 and 100. @return The chance of this {@link Talisman} activa
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java:111
↓ 2 callers
Method
getCoal
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/OreCrusher.java:265
↓ 2 callers
Method
getComponent
(@Nonnull Location l)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/energy/EnergyNet.java:301
↓ 2 callers
Method
getConfig
This method returns the relevant {@link Config} for the given {@link World} @param world Our {@link World} @return The corresponding {@li
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/PerWorldSettingsService.java:250
↓ 2 callers
Method
getConfiguration
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/sounds/SoundEffect.java:138
↓ 2 callers
Method
getConfiguration
Converts this Config Object into a plain FileConfiguration Object @return The converted FileConfiguration Object
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java:72
↓ 2 callers
Method
getConnectors
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/GitHubService.java:160
↓ 2 callers
Method
getCoolantSlots
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/cargo/ReactorAccessPort.java:157
↓ 2 callers
Method
getDefaultLanguage
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/LocalizationService.java:148
↓ 2 callers
Method
getDefaultLanguage
This method returns the default {@link Language} of this {@link Server} @return The default {@link Language}
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:107
↓ 2 callers
Method
getDefaultMessages
Returns the Strings referring to the specified Key @param key The Key of those Messages @return The List this key is referring to
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:266
↓ 2 callers
Method
getDefaultSoundId
This returns the default sound id. @return The default sound id.
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/sounds/SoundEffect.java:197
↓ 2 callers
Method
getDefaultValue
This returns the <strong>default</strong> value of this {@link ItemSetting}. @return The default value
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/ItemSetting.java:134
↓ 2 callers
Method
getDescription
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/commands/subcommands/DebugCommand.java:24
↓ 2 callers
Method
getDiamond
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/OreCrusher.java:277
↓ 2 callers
Method
getDistinctiveItem
(@Nonnull String id)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java:431
↓ 2 callers
Method
getDownloads
This returns how often this {@link Script} has been downloaded. @return The amount of downloads for this {@link Script}.
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Script.java:180
↓ 2 callers
Method
getDrops
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/Placeable.java:23
↓ 2 callers
Method
getEmerald
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/OreCrusher.java:281
↓ 2 callers
Method
getEnchantmentLevel
(Enchantment ench)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:388
↓ 2 callers
Method
getEnergyComponentType
This method returns the Type of {@link EnergyNetComponentType} this {@link SlimefunItem} represents. It describes how this Block will interact with an
src/main/java/io/github/thebusybiscuit/slimefun4/core/attributes/EnergyNetComponent.java:44
↓ 2 callers
Method
getEnergyConsumption
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/gps/GPSTransmitter.java:73
↓ 2 callers
Method
getEnergyConsumption
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/accelerators/CropGrowthAccelerator.java:28
↓ 2 callers
Method
getEnergyConsumption
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/AbstractEntityAssembler.java:292
↓ 2 callers
Method
getExposure
(@Nonnull Player p)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/RadiationUtils.java:33
↓ 2 callers
Method
getFileName
This returns the name of our cache {@link File}. @return The cache {@link File} name
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/GitHubConnector.java:64
↓ 2 callers
Method
getFrequency
This method returns the frequency a given node is set to. Should there be invalid data this method it will fall back to zero in order to preserve the
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/CargoNet.java:220
↓ 2 callers
Method
getFuelEfficiency
This returns the fuel efficiency of this {@link EnhancedFurnace}. The fuel efficiency is a multiplier that is applied to any fuel burnt in this {@link
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/blocks/EnhancedFurnace.java:67
↓ 2 callers
Method
getFuelSlots
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/cargo/ReactorAccessPort.java:152
↓ 2 callers
Method
getGlobalItemHandlers
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:315
↓ 2 callers
Method
getGoldNuggets
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/OreCrusher.java:289
↓ 2 callers
Method
getHologram
This returns the {@link Hologram} associated with the given {@link Location}. If createIfNoneExists is set to true a new {@link ArmorStand} will be sp
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/holograms/HologramsService.java:129
↓ 2 callers
Method
getInputMaterials
This method returns the target {@link Material Materials} for this {@link GoldPan}. @return The {@link Set} of {@link Material Materials} this {@link
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/GoldPan.java:80
↓ 2 callers
Method
getInputSlots
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricSmeltery.java:135
↓ 2 callers
Method
getInputSlots
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/FluidPump.java:104
↓ 2 callers
Method
getInputSlots
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/AutoBreeder.java:72
↓ 2 callers
Method
getInstruction
Get a value from the cache map rather than calling {@link Enum#valueOf(Class, String)}. This is 25-40% quicker than the standard {@link Enum#valueOf(C
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Instruction.java:300
↓ 2 callers
Method
getInventorySlots
()
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenuPreset.java:204
↓ 2 callers
Method
getInventoryTitle
This method returns the title that is used for the {@link Inventory} of an {@link AbstractEnergyProvider} that has been opened by a Player. Override
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/AbstractEnergyProvider.java:58
↓ 2 callers
Method
getInventoryTitle
This method returns the title that is used for the {@link Inventory} of an {@link AContainer} that has been opened by a Player. Override this method
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.java:127
↓ 2 callers
Method
getItem
This method returns the {@link ItemStack} that is used to display this {@link Language} in the {@link SlimefunGuide}. @return The {@link ItemStack} u
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/Language.java:103
↓ 2 callers
Method
getItemForEntityType
This method returns a finished {@link ItemStack} of this {@link SlimefunItem}, modified to hold and represent the given {@link EntityType}. It updates
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/blocks/AbstractMonsterSpawner.java:78
↓ 2 callers
Method
getItemGroupName
(@Nonnull Player p, @Nonnull NamespacedKey key)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:296
↓ 2 callers
Method
getItemId
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/gadgets/MultiToolMode.java:42
↓ 2 callers
Method
getItemStack
This returns the {@link ItemStack} that will be dropped. @return The {@link ItemStack} that will be dropped
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/SlimefunItemSpawnEvent.java:96
↓ 2 callers
Method
getItems
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/groups/FlexItemGroup.java:84
↓ 2 callers
Method
getKey
{@inheritDoc}
src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java:130
↓ 2 callers
Method
getKey
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/options/LearningAnimationOption.java:34
↓ 2 callers
Method
getKey
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/options/FireworksOption.java:24
↓ 2 callers
Method
getKey
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/options/PlayerLanguageOption.java:33
↓ 2 callers
Method
getLapisLazuli
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/OreCrusher.java:269
↓ 2 callers
Method
getLatestVersion
Gets the latest version available as an int. This is an internal method used by {@link #checkForUpdate(String)}. If it cannot get the version for what
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/MetricsService.java:199
↓ 2 callers
Method
getLatestVersion
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/UpdaterService.java:114
↓ 2 callers
Method
getLocationAsLong
This compresses our {@link Location} into a long for more efficient memory usage @param x The x value @param y The y value @par
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/ProfiledBlock.java:80
← previous
next →
801–900 of 4,048, ranked by callers