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
connectsTo
This method checks whether the given {@link Location} is part of this {@link Network}. @param l The {@link Location} to check for @return
src/main/java/io/github/thebusybiscuit/slimefun4/api/network/Network.java:165
↓ 4 callers
Method
countNonEmptyResearches
(@Nonnull Collection<Research> researches)
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:283
↓ 4 callers
Method
createHeader
(Player p, PlayerProfile profile, ChestMenu menu)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/guide/SurvivalSlimefunGuide.java:583
↓ 4 callers
Method
damage
(int amount, LivingEntity livingEntity)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:560
↓ 4 callers
Method
displayItem
(PlayerProfile profile, ItemStack item, int index, boolean addToHistory)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/guide/SurvivalSlimefunGuide.java:400
↓ 4 callers
Method
farm
(Block b, BlockMenu menu, Block block, boolean isAdvanced)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/FarmerAndroid.java:35
↓ 4 callers
Method
findOutputChestFor
This method checks if an {@link OutputChest} is placed next to the given {@link Block}. The returned object is an {@link Optional}. This {@link Option
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/blocks/OutputChest.java:69
↓ 4 callers
Method
fromResource
(NamespacedKey key, JavaPlugin plugin, String path, BiomeDataConverter<T> valueConverter)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java:162
↓ 4 callers
Method
fromUUID
(@Nonnull UUID uuid, @Nonnull Consumer<PlayerProfile> callback)
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:352
↓ 4 callers
Method
getAffectedItems
Lists every {@link SlimefunItem} that is bound to this {@link Research}. @return The Slimefun items bound to this {@link Research}.
src/main/java/io/github/thebusybiscuit/slimefun4/api/researches/Research.java:196
↓ 4 callers
Method
getAllSlimefunItems
This {@link List} contains every {@link SlimefunItem}, even disabled items. @return A {@link List} containing every {@link SlimefunItem}
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:157
↓ 4 callers
Method
getAltarsInUse
This returns all {@link AncientAltar Altars} that are currently in use. @return A {@link Set} of every {@link AncientAltar} currently in use
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/AncientAltarListener.java:79
↓ 4 callers
Method
getAnchor
(Player p, ItemStack item)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/TapeMeasure.java:93
↓ 4 callers
Method
getArmorStand
(@Nonnull Block projector, boolean createIfNoneExists)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/blocks/HologramProjector.java:137
↓ 4 callers
Method
getBackpackListener
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:954
↓ 4 callers
Method
getBlockPlaced
This gets the placed {@link Block} @return The placed {@link Block}
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/SlimefunBlockPlaceEvent.java:56
↓ 4 callers
Method
getBuildNumber
This method returns the build number that this is running on (or -1 if unofficial). You should combine the usage with {@link #getBranch()} in order to
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/UpdaterService.java:105
↓ 4 callers
Method
getChestMenu
(@Nonnull Block block)
src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/CargoUtils.java:367
↓ 4 callers
Method
getChunkX
Gets the chunks x coordinate for this block. @return The blocks chunks x coordinate.
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/ProfiledBlock.java:121
↓ 4 callers
Method
getChunkZ
Gets the chunks z coordinate for this block. @return The blocks chunks z coordinate.
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/ProfiledBlock.java:130
↓ 4 callers
Method
getColorFromPercentage
This will return a representative color for the given percentage. Lower levels will result in a darker tone of red, higher levels will result in more
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:106
↓ 4 callers
Method
getContributors
This returns the {@link Contributor Contributors} to this project. @return A {@link ConcurrentMap} containing all {@link Contributor Contributors}
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/GitHubService.java:173
↓ 4 callers
Method
getCoolantSlots
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/reactors/Reactor.java:271
↓ 4 callers
Method
getEffects
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java:115
↓ 4 callers
Method
getEnchantment
This returns the actual {@link Enchantment} represented by this {@link ItemSetting}. @return The associated {@link Enchantment}
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/settings/TalismanEnchantment.java:38
↓ 4 callers
Method
getEnergyConsumption
This method returns the amount of energy that is consumed per operation. @return The rate of energy consumption
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/AbstractAutoCrafter.java:500
↓ 4 callers
Method
getEnergyConsumption
This method returns the amount of energy that is consumed per operation. @return The rate of energy consumption
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/geo/GEOMiner.java:95
↓ 4 callers
Method
getEnergyConsumption
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/AContainer.java:157
↓ 4 callers
Method
getEnergyProduction
This method returns the amount of energy that is produced per tick. @return The rate of energy generation
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/AbstractEnergyProvider.java:79
↓ 4 callers
Method
getFile
(@Nonnull LanguageFile file)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/Language.java:85
↓ 4 callers
Method
getFile
Returns the File the Config is handling @return The File this Config is handling
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java:63
↓ 4 callers
Method
getFuelSlots
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/reactors/Reactor.java:267
↓ 4 callers
Method
getFuelSource
This returns the {@link AndroidFuelSource} for this {@link ProgrammableAndroid}. It determines what kind of fuel is required to run it. @return The r
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ProgrammableAndroid.java:205
↓ 4 callers
Method
getID
This returns the id of the associated {@link SlimefunItem}. It also doubles as the id for this {@link BlockMenuPreset}. @return Our identifier
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenuPreset.java:271
↓ 4 callers
Method
getInputSlotTexture
()
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChestMenuUtils.java:75
↓ 4 callers
Method
getItemInHand
Gets the {@link ItemStack} of the tool used to destroy this block @return The {@link ItemStack} in the hand of the {@link Player}
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/ExplosiveToolBreakBlocksEvent.java:89
↓ 4 callers
Method
getItemTextureService
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:817
↓ 4 callers
Method
getKey
()
src/main/java/io/github/thebusybiscuit/slimefun4/utils/tags/TagParser.java:197
↓ 4 callers
Method
getKey
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/researches/Research.java:80
↓ 4 callers
Method
getKeys
()
src/main/java/me/mrCookieSlime/Slimefun/api/BlockInfoConfig.java:76
↓ 4 callers
Method
getLevel
This method returns an {@link OptionalInt} describing the level of this status effect on that player. @param p The {@link Player} to check
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/StatusEffect.java:122
↓ 4 callers
Method
getMenuPresets
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:300
↓ 4 callers
Method
getMinecraftName
Returns the Minecraft username of the {@link Contributor}. This can be the same as {@link #getName()}. @return The Minecraft username of this {@link
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/Contributor.java:105
↓ 4 callers
Method
getMode
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/guide/SurvivalSlimefunGuide.java:83
↓ 4 callers
Method
getMonth
This method returns the {@link Month} in which this {@link SeasonalItemGroup} will appear. @return the {@link Month} in which this {@link SeasonalIte
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/groups/SeasonalItemGroup.java:54
↓ 4 callers
Method
getName
This returns the name of this {@link ElevatorFloor}. @return The name of this floor
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/elevator/ElevatorFloor.java:57
↓ 4 callers
Method
getOperation
This returns the current {@link MachineOperation} at that given {@link Location}. @param loc The {@link Location} at which our machine is
src/main/java/io/github/thebusybiscuit/slimefun4/core/machines/MachineProcessor.java:146
↓ 4 callers
Method
getOriginalItemStack
(@Nonnull Item item)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/altar/AncientPedestal.java:142
↓ 4 callers
Method
getOutputSlots
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/cargo/ReactorAccessPort.java:162
↓ 4 callers
Method
getOutputSlots
()
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.java:298
↓ 4 callers
Method
getOutputSlots
()
src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AGenerator.java:133
↓ 4 callers
Method
getPermission
This returns the associated {@link Permission} with the given {@link SlimefunItem}. It actually returns an {@link Optional}, {@link Optional#empty()}
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/PermissionsService.java:108
↓ 4 callers
Method
getPermissionsService
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:822
↓ 4 callers
Method
getPlayer
{@inheritDoc}
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/inspectors/PlayerPerformanceInspector.java:55
↓ 4 callers
Method
getPlugin
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/commands/SlimefunCommand.java:57
↓ 4 callers
Method
getPreset
()
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/DirtyChestMenu.java:56
↓ 4 callers
Method
getProfilePlaceholder
(@Nonnull Player p)
src/main/java/io/github/thebusybiscuit/slimefun4/integrations/PlaceholderAPIIntegration.java:141
↓ 4 callers
Method
getRadius
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/accelerators/CropGrowthAccelerator.java:30
↓ 4 callers
Method
getRecipeInputList
(MultiBlockMachine machine)
src/main/java/io/github/thebusybiscuit/slimefun4/api/recipes/RecipeType.java:191
↓ 4 callers
Method
getRecipeOutputList
(MultiBlockMachine machine, ItemStack[] input)
src/main/java/io/github/thebusybiscuit/slimefun4/api/recipes/RecipeType.java:225
↓ 4 callers
Method
getResearches
This returns a {@link List} containing every enabled {@link Research}. @return A {@link List} containing every enabled {@link Research}
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:176
↓ 4 callers
Method
getSlimefunBlock
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/PlayerRightClickEvent.java:138
↓ 4 callers
Method
getSlotsAccessedByItemTransport
(ItemTransportFlow flow)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/geo/OilPump.java:64
↓ 4 callers
Method
getTeleportationManager
This returns the {@link TeleportationManager} for this {@link GPSNetwork}. It is responsible for all actions that relate to the {@link Teleporter}. @
src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/GPSNetwork.java:363
↓ 4 callers
Method
getTexture
Returns this contributor's head texture. If no texture could be found, or it hasn't been pulled yet, then it will return a placeholder texture. @retu
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/Contributor.java:177
↓ 4 callers
Method
handleCraftedItem
This method handles an output {@link ItemStack} from the {@link MultiBlockMachine} which has a crafting delay @param outputItem A crafted
src/main/java/io/github/thebusybiscuit/slimefun4/core/multiblocks/MultiBlockMachine.java:194
↓ 4 callers
Method
handleGrapplingHook
(@Nullable Arrow arrow)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/GrapplingHookListener.java:155
↓ 4 callers
Method
hasFullProtectionAgainst
(@Nonnull ProtectionType type)
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:507
↓ 4 callers
Method
hasInventory
(Location l)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:835
↓ 4 callers
Method
hasUnlocked
Checks if the {@link Player} has fully unlocked all parent categories. @param p The {@link Player} to check @param profile The
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/groups/LockedItemGroup.java:153
↓ 4 callers
Method
isDeathpoint
This method returns whether this {@link Waypoint} is a Deathpoint. @return Whether this is a Deathpoint
src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/Waypoint.java:144
↓ 4 callers
Method
isHidden
This method returns whether this {@link SlimefunItem} was hidden from the {@link SlimefunGuide}. @return Whether this {@link SlimefunItem} is hidden.
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:342
↓ 4 callers
Method
isShiftClicked
()
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ClickAction.java:22
↓ 4 callers
Method
isSymmetric
(@Nonnull Material[] blocks)
src/main/java/io/github/thebusybiscuit/slimefun4/core/multiblocks/MultiBlock.java:79
↓ 4 callers
Method
isUnallowed
(@Nullable ItemStack item)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/crafting/SlimefunCraftingListener.java:24
↓ 4 callers
Method
isValidInputMaterial
This returns whether the {@link GoldPan} accepts the {@link Material} as an input @param material The {@link Material} to check @return I
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/GoldPan.java:223
↓ 4 callers
Method
isWorldEnabled
This checks whether the given {@link World} is enabled or not. @param world The {@link World} to check @return Whether this {@link World}
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/PerWorldSettingsService.java:141
↓ 4 callers
Method
load
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java:135
↓ 4 callers
Method
loadWorldFromConfig
(@Nonnull World world)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/PerWorldSettingsService.java:188
↓ 4 callers
Method
markDirty
This method marks the given {@link Location} as dirty and adds it to a {@link Queue} to handle this update. @param l The {@link Location}
src/main/java/io/github/thebusybiscuit/slimefun4/api/network/Network.java:149
↓ 4 callers
Method
mockClickEvent
(ItemStack item)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TestVillagerTradingListener.java:51
↓ 4 callers
Method
mockGrindStoneEvent
(ItemStack item)
src/test/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TestGrindstoneListener.java:51
↓ 4 callers
Method
onCargoNodePlace
(BlockPlaceEvent e)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/CargoNodeListener.java:28
↓ 4 callers
Method
onInteract
This function is triggered when a {@link Player} right clicks with the assigned {@link SlimefunItem} in his hand. @param e The {@link Play
src/main/java/io/github/thebusybiscuit/slimefun4/core/handlers/EntityInteractHandler.java:39
↓ 4 callers
Method
openScript
(Player p, Block b, String sourceCode)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ProgrammableAndroid.java:234
↓ 4 callers
Method
openSearch
(PlayerProfile profile, String input, boolean addToHistory)
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/SlimefunGuideImplementation.java:57
↓ 4 callers
Method
openTeleporterGUI
Opens the GUI of the teleporter and calculates the network complexity of the {@link Player} @param p {@link Player} to be teleported @para
src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/TeleportationManager.java:65
↓ 4 callers
Method
printBorder
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/UpdaterService.java:180
↓ 4 callers
Method
registerMachineRecipe
(String machine, int seconds, ItemStack[] input, ItemStack[] output)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/PostSetup.java:235
↓ 4 callers
Method
remove
(@Nonnull SlimefunItem item)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/groups/FlexItemGroup.java:94
↓ 4 callers
Method
removeColorCodes
(@Nonnull String string)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChatUtils.java:36
↓ 4 callers
Method
save
This saves every configured {@link Permission} to the permissions {@link File}.
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/PermissionsService.java:136
↓ 4 callers
Method
schedule
Schedules this {@link AbstractArmorTask} to run every {@code tickInterval} ticks @param plugin The {@link Slimefun} @param tickInterval
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/armor/AbstractArmorTask.java:49
↓ 4 callers
Method
send
(@Nonnull PerformanceInspector sender)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/profiler/PerformanceSummary.java:54
↓ 4 callers
Method
setEnabled
This method enables or disables this recipe. A disabled recipe will not be crafted. @param enabled Whether this recipe is enabled
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/AbstractRecipe.java:109
↓ 4 callers
Method
setItemMeta
(ItemMeta itemMeta)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/itemstack/ItemStackWrapper.java:97
↓ 4 callers
Method
setPlayerInventoryClickable
Toggles whether Players can access there Inventory while viewing this Menu @param clickable Whether the Player can access his Inventory @r
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:59
↓ 4 callers
Method
setProgressBar
This sets the progress bar icon for this {@link MachineProcessor}. You can also set it to null to clear the progress bar. @param progressBar
src/main/java/io/github/thebusybiscuit/slimefun4/core/machines/MachineProcessor.java:80
↓ 4 callers
Method
setRecipe
Sets the recipe for this {@link SlimefunItem}. @param recipe The recipe for this {@link ItemStack}
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:668
↓ 4 callers
Method
setRecipeOutput
This method will set the result of crafting this {@link SlimefunItem}. If null is passed, then it will use the default item as the recipe result. @pa
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java:709
← previous
next →
501–600 of 4,048, ranked by callers