MCPcopy Create free account

hub / github.com/Rosewood-Development/RoseLoot / functions

Functions1,460 in github.com/Rosewood-Development/RoseLoot

↓ 6 callersMethodregisterInt
(Class<T> entityClass, String name, Function<T, Integer> supplier)
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/EntityPropertyConditions.java:300
↓ 6 callersMethodsetCurrentLootTable
(LootTable lootTable)
Plugin/src/main/java/dev/rosewood/roseloot/loot/context/LootContext.java:24
↓ 5 callersMethodcolorifyAndComponentify
(String legacyText)
Plugin/src/main/java/dev/rosewood/roseloot/util/ComponentUtil.java:14
↓ 5 callersMethodgetContents
()
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootContents.java:72
↓ 5 callersMethodgetDamage
(ItemStack itemStack, Damageable damageable)
Plugin/src/main/java/dev/rosewood/roseloot/hook/ItemsAdderHook.java:18
↓ 5 callersMethodgetDuration
Gets the duration of a time string @param timeString The time string @return The duration in milliseconds
Plugin/src/main/java/dev/rosewood/roseloot/util/TimeUtils.java:22
↓ 5 callersMethodgetLuckLevel
@return the luck level for this context, used for bonus rolls
Plugin/src/main/java/dev/rosewood/roseloot/loot/context/LootContext.java:167
↓ 5 callersMethodisPercentage
@return true if this number provider's input was represented with a percentage, false otherwise
Plugin/src/main/java/dev/rosewood/roseloot/provider/NumberProvider.java:40
↓ 5 callersMethodnone
()
Plugin/src/main/java/dev/rosewood/roseloot/loot/OverwriteExisting.java:27
↓ 5 callersMethodparseRegistryTags
(StringProvider provider, RegistryKey<T> registryKey, LootContext context)
Component/Common/src/main/java/dev/rosewood/roseloot/loot/item/component/common/ParsingUtils.java:145
↓ 5 callersMethodregister
(Class<T> entityClass, String name, BiPredicate<T, Collection<V>> predicate, @Nullable Function<String[], Coll
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/EntityPropertyConditions.java:225
↓ 5 callersMethodtoComponentsSection
(ItemStack itemStack)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/ItemLootItem.java:222
↓ 4 callersMethodformatText
Formats the text using HexUtils, PlaceholderAPI, and this LootContext's placeholders. @param text the text to format @return the formatted text
Plugin/src/main/java/dev/rosewood/roseloot/loot/context/LootContext.java:201
↓ 4 callersMethodfromSection
(ConfigurationSection section)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/ItemLootItem.java:152
↓ 4 callersMethodgetAttribute
(String id)
Plugin/src/main/java/dev/rosewood/roseloot/util/VersionUtils.java:86
↓ 4 callersMethodgetCurrentLootTable
@return the last LootTable to be used with this LootContext
Plugin/src/main/java/dev/rosewood/roseloot/loot/context/LootContext.java:229
↓ 4 callersMethodgetEnchantments
()
Plugin/src/main/java/dev/rosewood/roseloot/util/VersionUtils.java:141
↓ 4 callersMethodgetLootTableManager
()
Plugin/src/main/java/dev/rosewood/roseloot/api/RoseLootAPI.java:45
↓ 4 callersMethodnone
()
Plugin/src/main/java/dev/rosewood/roseloot/loot/context/LootContext.java:252
↓ 4 callersMethodsetEntitySpawnReason
Sets the spawn reason for the given LivingEntity. Does not overwrite an existing spawn reason. @param entity The entity to set the spawn reason of @p
Plugin/src/main/java/dev/rosewood/roseloot/util/LootUtils.java:163
↓ 4 callersMethodtoPotionEffect
(LootContext context)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/meta/PotionItemLootMeta.java:128
↓ 4 callersMethodtransform
Transforms the given value into the type of this parameter @param value the value to transform @return an optional transformed value
Plugin/src/main/java/dev/rosewood/roseloot/loot/context/LootContextParam.java:93
↓ 4 callersMethodtrigger
Causes the LootItem to trigger its contents @param context The LootContext @param location The Location to trigger at
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/TriggerableLootItem.java:17
↓ 3 callersMethodadd
(String name, LootTable lootTable)
Plugin/src/main/java/dev/rosewood/roseloot/command/command/ListCommand.java:66
↓ 3 callersMethodapplyCondition
(LootContext context, KineticWeaponCondition condition, Consumer<Condition> applicator)
Component/Common/src/main/java/dev/rosewood/roseloot/loot/item/component/common/stable/KineticWeaponComponent.java:103
↓ 3 callersMethodapplyConditionProperties
(String key, StringBuilder stringBuilder, Condition condition)
Component/Common/src/main/java/dev/rosewood/roseloot/loot/item/component/common/stable/KineticWeaponComponent.java:139
↓ 3 callersMethodbreakNaturally
(Block block, ItemStack tool, boolean player)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/BreakBlockLootItem.java:99
↓ 3 callersMethodcheck
Checks if this recursive loot item passes conditions @param context The LootContext @return true if conditions pass, false otherwise
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/RecursiveLootItem.java:17
↓ 3 callersMethodcompile
Compiles the placeholders into a StringPlaceholders object
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootPlaceholders.java:78
↓ 3 callersMethoddecomponentifyAndDecolorify
(Component component)
Plugin/src/main/java/dev/rosewood/roseloot/util/ComponentUtil.java:18
↓ 3 callersMethoddeposit
Deposits the specified amount of currency into the specified player's account. @param offlinePlayer The player to deposit the currency into @param am
Plugin/src/main/java/dev/rosewood/roseloot/hook/economy/EconomyProvider.java:32
↓ 3 callersMethoddropForPlayer
Gives the loot contained within this LootContents to a Player and executes all triggers @param player The Player to
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootContents.java:191
↓ 3 callersMethodfailToLoad
(String fileName, String reason)
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:721
↓ 3 callersMethodforceCast
(T value)
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootContents.java:153
↓ 3 callersMethodgetArguments
()
Plugin/src/test/java/dev/rosewood/roseloot/loot/LootConditionParserTest.java:41
↓ 3 callersMethodgetBiome
(String id)
Plugin/src/main/java/dev/rosewood/roseloot/util/VersionUtils.java:105
↓ 3 callersMethodgetDisplay
(Player player)
Plugin/src/main/java/dev/rosewood/roseloot/command/command/CooldownsCommand.java:112
↓ 3 callersMethodgetHandler
@return the instance of the NMSHandler, or null if this server version is not supported
NMS/Wrapper/src/main/java/dev/rosewood/roseloot/nms/NMSAdapter.java:59
↓ 3 callersMethodgetLootCondition
(String operator, Deque<LootCondition> conditions)
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/LootConditionParser.java:93
↓ 3 callersMethodgetLootTables
()
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:701
↓ 3 callersMethodloadConfiguration
(String path, String fileName, ConfigurationSection configuration)
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:238
↓ 3 callersMethodlogMessage
(String message)
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:729
↓ 3 callersMethodparseCondition
(ConfigurationSection baseSection, String key)
Component/Common/src/main/java/dev/rosewood/roseloot/loot/item/component/common/stable/KineticWeaponComponent.java:52
↓ 3 callersMethodparseConditionExpression
Parses a condition expression into a LootCondition. @param expression The condition expression, see {@link LootConditionParser} for supported options
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:585
↓ 3 callersMethodregisterMaterial
(Class<T> entityClass, String name, Function<T, Material> supplier, boolean onlyBlocks, boolean allowEmptyValu
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/EntityPropertyConditions.java:233
↓ 3 callersMethodresolveLootTable
()
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/LootTableLootItem.java:132
↓ 2 callersMethodapply
(LootConditionRegistrationEvent event, String prefix, LootContextParam<? extends Entity> entityContext)
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/EntityPropertyConditions.java:221
↓ 2 callersMethodapplyEffectProperties
(List<ConsumeEffect> effects, int indent, String propertyName, StringBuilder stringBuilder)
Component/Common/src/main/java/dev/rosewood/roseloot/loot/item/component/common/ParsingUtils.java:105
↓ 2 callersMethodapplyProperties
(DataComponentType.Valued<ItemAdventurePredicate> dataComponentType, String configKey, ItemStack itemStack, St
Component/v1_21_3/src/main/java/dev/rosewood/roseloot/loot/item/component/v1_21_3/ItemAdventureComponent.java:77
↓ 2 callersMethodapplyProperties
(DataComponentType.Valued<ItemAdventurePredicate> dataComponentType, String configKey, ItemStack itemStack, St
Component/Common/src/main/java/dev/rosewood/roseloot/loot/item/component/common/stable/ItemAdventureComponent.java:61
↓ 2 callersMethodavailableOrContainsUnchecked
(T entity, Collection<Object> values, Function<T, ?> supplier, boolean allowEmptyValues)
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/EntityPropertyConditions.java:328
↓ 2 callersMethodbuildConditionRecursively
(String path, StringBuilder stringBuilder, JsonObject json)
Plugin/src/main/java/dev/rosewood/roseloot/util/VanillaLootTableConverter.java:640
↓ 2 callersMethodbuildData
(Location location, LootContext context)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/ParticleLootItem.java:106
↓ 2 callersMethodcombineSimilarItems
(List<ItemStack> items)
Plugin/src/main/java/dev/rosewood/roseloot/util/LootUtils.java:399
↓ 2 callersMethodcontainsKey
Checks if a placeholder with a given key exists @param key The key of the placeholder @return true if the placeholder exists, false otherwise
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootPlaceholders.java:49
↓ 2 callersMethodcreateItemStackCopies
(ItemStack itemStack, int amount)
Plugin/src/main/java/dev/rosewood/roseloot/util/LootUtils.java:378
↓ 2 callersMethodcreateSkullUUID
(String texture)
Plugin/src/main/java/dev/rosewood/roseloot/util/SkullUtils.java:79
↓ 2 callersMethoddispatchCommand
(CommandSender sender, String command)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/CommandLootItem.java:36
↓ 2 callersMethodevaluate
(String left, String right)
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/Operator.java:28
↓ 2 callersMethodfindNextComponentsSection
(String fileName, ConfigurationSection section)
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:309
↓ 2 callersMethodfixEntityNames
(String entityType)
Plugin/src/main/java/dev/rosewood/roseloot/util/VanillaLootTableConverter.java:1307
↓ 2 callersMethodfromStrings
(List<String> values)
Plugin/src/main/java/dev/rosewood/roseloot/loot/OverwriteExisting.java:12
↓ 2 callersMethodgenerateLoot
(LootTable lootTable, LootContext lootContext)
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:617
↓ 2 callersMethodgetActiveCooldowns
Gets all active cooldowns for a player, including global cooldowns @param player The player to get cooldowns for @return All active cooldowns for the
Plugin/src/main/java/dev/rosewood/roseloot/manager/CooldownManager.java:54
↓ 2 callersMethodgetCreationItem
(LootContext context)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/ItemLootItem.java:83
↓ 2 callersMethodgetCustomNBTString
Gets all non-vanilla NBT from the given ItemStack @param itemStack The ItemStack to get the NBT from @param keepVanillaNBT Whether to keep vanilla NB
Plugin/src/main/java/dev/rosewood/roseloot/hook/NBTAPIHook.java:49
↓ 2 callersMethodgetDeathExplosionType
Gets the explosion type from a killed entity @param entity The killed entity @return The explosion type
Plugin/src/main/java/dev/rosewood/roseloot/loot/ExplosionType.java:20
↓ 2 callersMethodgetDroppedEquipment
(LootContext context, boolean checkChances)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/EntityEquipmentLootItem.java:49
↓ 2 callersMethodgetListFormatted
Gets a list of strings from this provider with placeholders and colors applied @param context The LootContext @return The list of strings with placeh
Plugin/src/main/java/dev/rosewood/roseloot/provider/StringProvider.java:44
↓ 2 callersMethodgetLootContext
@return the LootContext used to generate this LootResult
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootResult.java:29
↓ 2 callersMethodgetOverwriteExistingValues
@return the overwrite-existing values defined in the LootTable
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootTable.java:69
↓ 2 callersMethodgetOverwriteExistingValues
@return the OverwriteExisting values of the loot generation
Plugin/src/main/java/dev/rosewood/roseloot/event/PostLootGenerateEvent.java:73
↓ 2 callersMethodgetParams
@return a copy of all the non-null LootContextParams in this context
Plugin/src/main/java/dev/rosewood/roseloot/loot/context/LootContext.java:99
↓ 2 callersMethodgetPrecedence
(String op)
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/LootConditionParser.java:84
↓ 2 callersMethodgetSymbol
()
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/Operator.java:24
↓ 2 callersMethodhandleInputStream
(File destination, InputStream inputStream, String path, boolean includeWarning)
Plugin/src/main/java/dev/rosewood/roseloot/util/VanillaLootTableConverter.java:112
↓ 2 callersMethodhandleNexoBlockBreak
(Player player, Block block, String itemId)
Plugin/src/main/java/dev/rosewood/roseloot/listener/hook/NexoBlockBreakListener.java:54
↓ 2 callersMethodhandleOraxenBlockBreak
(Player player, Block block, String itemId)
Plugin/src/main/java/dev/rosewood/roseloot/listener/hook/OraxenBlockBreakListener.java:53
↓ 2 callersMethodhandleSupportedBlock
(Player player, Block block)
Plugin/src/main/java/dev/rosewood/roseloot/manager/SupportedBlockManager.java:39
↓ 2 callersMethodhandleVanilla
(File directory, String path)
Plugin/src/main/java/dev/rosewood/roseloot/util/VanillaLootTableConverter.java:94
↓ 2 callersMethodinit
(String tag, boolean parse)
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/BaseLootCondition.java:27
↓ 2 callersMethodisEnabled
()
Plugin/src/main/java/dev/rosewood/roseloot/hook/CoreProtectRecentBlockHook.java:16
↓ 2 callersMethodisEnabled
()
Plugin/src/main/java/dev/rosewood/roseloot/hook/ItemsAdderHook.java:12
↓ 2 callersMethodisEnabled
()
Plugin/src/main/java/dev/rosewood/roseloot/hook/RoseStackerHook.java:12
↓ 2 callersMethodisEnabled
()
Plugin/src/main/java/dev/rosewood/roseloot/hook/NBTAPIHook.java:20
↓ 2 callersMethodisWithinStructure
Checks if the given Location is within a certain type of structure @param location The Location to check at @param structureKey The namespaced key of
NMS/Wrapper/src/main/java/dev/rosewood/roseloot/nms/NMSHandler.java:28
↓ 2 callersMethodlistFiles
(File current, List<String> excludedDirectories, List<String> extensions)
Plugin/src/main/java/dev/rosewood/roseloot/util/LootUtils.java:204
↓ 2 callersMethodof
(Block block)
Plugin/src/main/java/dev/rosewood/roseloot/hook/CoreProtectRecentBlockHook.java:34
↓ 2 callersMethodparse
(String input)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/SpawnEntityLootItem.java:115
↓ 2 callersMethodparseCondition
Parses a LootCondition tag into a registered LootCondition if one exists @param tag The LootCondition tag to parse @return the parsed LootCondition,
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:563
↓ 2 callersMethodparseConditionsSection
(String fileName, ConfigurationSection section, String parents, String entryKey)
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:272
↓ 2 callersMethodparseEffectConfigs
(ConfigurationSection section, String propertyName)
Component/Common/src/main/java/dev/rosewood/roseloot/loot/item/component/common/ParsingUtils.java:24
↓ 2 callersMethodparseLootItemsSection
(String fileName, String parents, String entryKey, ConfigurationSection section)
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:360
↓ 2 callersMethodpropagateKiller
Propagates the killer up the stack until we find the ultimate cause of an Entity's death @param entity The Entity to propagate up from @return The En
Plugin/src/main/java/dev/rosewood/roseloot/util/LootUtils.java:237
↓ 2 callersMethodrandomInRange
Gets a random value between the given range, inclusively @param min The minimum value @param max The maximum value @return A value between the min an
Plugin/src/main/java/dev/rosewood/roseloot/util/LootUtils.java:117
↓ 2 callersMethodregisterStrings
(LootConditionRegistrationEvent event, String name, BiPredicate<LootContext, List<String>> predicate)
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:553
↓ 2 callersMethodremoveExperience
Removes all ExperienceLootItems from the contents
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootContents.java:175
↓ 2 callersMethodremoveExtraTriggers
Removes all TriggerableLootItems from the contents
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootContents.java:182
↓ 2 callersMethodremoveItems
Removes all ItemLootItems from the contents
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootContents.java:168
↓ 2 callersMethodresolveItem
(LootContext context)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/ItemLootItem.java:64
← previousnext →101–200 of 1,460, ranked by callers