MCPcopy Create free account

hub / github.com/Slimefun/Slimefun4 / functions

Functions4,048 in github.com/Slimefun/Slimefun4

↓ 35 callersMethodcanUse
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 callersMethodgetInputSlots
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 callersMethodhasBlockInfo
(Block block)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:552
↓ 34 callersMethodgetProtectionManager
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 callersMethodpowerBuffer
(int power)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/LoreBuilder.java:48
↓ 34 callersMethodsetLore
(List<String> lore)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:517
↓ 34 callersMethodwarn
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 callersMethodgetResearches
()
src/main/java/io/github/thebusybiscuit/slimefun4/storage/data/PlayerData.java:37
↓ 33 callersMethodisValid
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 callersMethodwrap
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 callersMethodgetKey
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/BlockDataService.java:53
↓ 31 callersMethodgetVersion
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 callersMethodvalidateInstance
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 callersMethodgetItem
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 callersMethodpowerCharged
(int charge, int capacity)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/LoreBuilder.java:60
↓ 27 callersMethodcontainsKey
(@Nonnull Biome biome)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java:80
↓ 27 callersMethodhasPermission
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 callersMethodsetValue
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 callersMethodtoString
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/VanillaRecipe.java:108
↓ 25 callersMethodaddUnsafeEnchantments
(Map<Enchantment, Integer> enchantments)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:404
↓ 25 callersMethodgetBlockData
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 callersMethodisDisabled
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 callersMethodfind
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 callersMethodgetById
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 callersMethodgetName
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 callersMethodgetWorld
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 callersMethodisBefore
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 callersMethodtoInventory
Converts this ChestMenu Instance into a normal Inventory @return The converted Inventory
src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java:316
↓ 23 callersMethodgetGPSNetwork
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 callersMethodgetOutputSlots
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 callersMethodgetString
(@Nullable Language language, LanguageFile file, String path)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/localization/SlimefunLocalization.java:197
↓ 23 callersMethodmaterial
(@Nonnull String material)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/LoreBuilder.java:64
↓ 23 callersMethodopen
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 callersMethodgetBackground
()
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChestMenuUtils.java:63
↓ 22 callersMethodgetProfiler
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 callersMethodremove
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 callersMethodtoArray
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 callersMethodclone
(@Nonnull DirtyChestMenu menu)
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenuPreset.java:225
↓ 21 callersMethoddropItems
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 callersMethodgetAsItemStack
(@Nonnull ProgrammableAndroid android, @Nonnull Player p)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Script.java:130
↓ 21 callersMethodgetId
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 callersMethodgetItemStack
This returns the placed {@link ItemStack}. @return The placed {@link ItemStack}
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/BlockPlacerPlaceEvent.java:66
↓ 21 callersMethodhasUnlocked
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 callersMethodmatches
(@Nonnull ItemStack item, @Nonnull Predicate<ItemStack> predicate)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/autocrafters/VanillaAutoCrafter.java:95
↓ 20 callersMethodcallItemHandler
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 callersMethodgetDrops
(Material material, Random random)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/miner/OreDictionary.java:21
↓ 20 callersMethodgetItemGroup
(Plugin plugin, String name)
src/test/java/io/github/thebusybiscuit/slimefun4/test/TestUtilities.java:58
↓ 20 callersMethodsetPistonState
(@Nonnull Block block, boolean extended)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/miner/MiningTask.java:336
↓ 20 callersMethodsetResearchingEnabled
(boolean enabled)
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:198
↓ 19 callersMethodassertMisconfiguration
(BiomeDataConverter<T> function, String json)
src/test/java/io/github/thebusybiscuit/slimefun4/utils/biomes/TestBiomeMapParser.java:129
↓ 19 callersMethodequalsLore
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 callersMethodgetDefaultSupply
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 callersMethodgetDescription
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/commands/SubCommand.java:68
↓ 19 callersMethodgetGuideHistory
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 callersMethodgetItemName
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 callersMethodgetWorlds
()
src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java:327
↓ 19 callersMethodhasItemMeta
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:436
↓ 19 callersMethoditerator
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:474
↓ 19 callersMethodrandomInt
()
src/test/java/io/github/thebusybiscuit/slimefun4/test/TestUtilities.java:93
↓ 19 callersMethodsetDefaultValue
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 callersMethodaddUnsafeEnchantment
(Enchantment ench, int level)
src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItemStack.java:408
↓ 18 callersMethoddrawBackground
(@Nonnull ChestMenu menu, int... slots)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/ChestMenuUtils.java:141
↓ 18 callersMethodequals
{@inheritDoc}
src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/Waypoint.java:171
↓ 18 callersMethodgetCharge
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 callersMethodgetCompactDouble
(double value)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/NumberUtils.java:55
↓ 18 callersMethodgetInt
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 callersMethodgetOrDefault
(@Nonnull Biome biome, T defaultValue)
src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java:74
↓ 18 callersMethodgetTickerTask
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:785
↓ 18 callersMethodisItem
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 callersMethodpushItem
(Block b, ItemStack output)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/blocks/Composter.java:110
↓ 18 callersMethodremove
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 callersMethodaccept
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 callersMethodfits
(@Nonnull ItemStack item, int... slots)
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/DirtyChestMenu.java:79
↓ 17 callersMethodgetItemCfg
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:768
↓ 17 callersMethodsetItem
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 callersMethodassertMisconfiguration
(@Nonnull String json)
src/test/java/io/github/thebusybiscuit/slimefun4/utils/tags/TestTagParser.java:101
↓ 16 callersMethodgetCfg
()
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java:758
↓ 16 callersMethodgetPersistentDataContainer
(@Nonnull BlockState state)
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/BlockDataService.java:113
↓ 16 callersMethodgetWaypoints
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 callersMethodaddItem
(int slot, @Nullable ItemStack item)
src/main/java/me/mrCookieSlime/Slimefun/api/inventory/BlockMenuPreset.java:140
↓ 15 callersMethodclear
This method will clear this {@link GuideHistory} and remove all entries.
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/GuideHistory.java:47
↓ 15 callersMethodcreateBackpack
(int size)
src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java:257
↓ 15 callersMethodgetAddon
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 callersMethodgetStorage
(@Nonnull World world)
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java:69
↓ 15 callersMethodsetBlockData
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 callersMethodsetVelocity
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 callersMethodtrigger
(Event e, SlimefunItemStack stack)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java:150
↓ 15 callersMethodupdate
()
src/main/java/me/mrCookieSlime/Slimefun/Objects/handlers/BlockTicker.java:18
↓ 14 callersMethoderror
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 callersMethodfindOutputInventory
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 callersMethodgetClimbingSpeed
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 callersMethodgetHand
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 callersMethodgetOutput
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 callersMethodgetString
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 callersMethodgetValue
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 callersMethodisCancelled
()
src/main/java/io/github/thebusybiscuit/slimefun4/api/events/MultiBlockCraftEvent.java:102
↓ 14 callersMethodisMinecraftVersion
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 callersMethodopenInventory
(Player p, SlimefunItem item, Block clickedBlock, PlayerRightClickEvent event)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/SlimefunItemInteractListener.java:143
↓ 14 callersMethodregisterFuelType
(@Nonnull MachineFuel fuel)
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ProgrammableAndroid.java:631
↓ 14 callersMethodremoveItem
(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
← previousnext →101–200 of 4,048, ranked by callers