Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rosewood-Development/RoseLoot
/ functions
Functions
1,460 in github.com/Rosewood-Development/RoseLoot
⨍
Functions
1,460
◇
Types & classes
450
↓ 2 callers
Method
safeStringToInt
(String str)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/ZMenuPlayerDataLootItem.java:125
↓ 2 callers
Method
setSkullTexture
Applies a base64 encoded texture to an item's SkullMeta @param skullMeta The ItemMeta for the Skull @param texture The texture to apply to the skull
Plugin/src/main/java/dev/rosewood/roseloot/util/SkullUtils.java:35
↓ 2 callers
Method
sumEquipmentBonuses
(LootContext context)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/ExperienceLootItem.java:40
↓ 2 callers
Method
toConsumeEffect
(LootContext context)
Component/Common/src/main/java/dev/rosewood/roseloot/loot/item/component/common/EffectConfig.java:16
↓ 2 callers
Method
toSection
(ItemStack itemStack, boolean keepVanillaNBT)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/ItemLootItem.java:204
↓ 2 callers
Method
withBlockInfo
(Function<T, BlockInfo> blockInfoProvider)
Plugin/src/main/java/dev/rosewood/roseloot/loot/context/LootContextParams.java:117
↓ 2 callers
Method
withPlayer
(Function<T, Player> playerProvider)
Plugin/src/main/java/dev/rosewood/roseloot/loot/context/LootContextParams.java:107
↓ 2 callers
Method
withdraw
Withdraws the specified amount of currency from the specified player's account. @param offlinePlayer The player to withdraw the currency from @param
Plugin/src/main/java/dev/rosewood/roseloot/hook/economy/EconomyProvider.java:41
↓ 2 callers
Method
write
Writes a line with the current indentation, also appends a newline at the end @param line The line to write
Plugin/src/main/java/dev/rosewood/roseloot/util/IndentedFileWriter.java:21
↓ 2 callers
Method
writeAmountModifiers
(String path, IndentedFileWriter writer, JsonObject json)
Plugin/src/main/java/dev/rosewood/roseloot/util/VanillaLootTableConverter.java:1000
↓ 2 callers
Method
writeItemConditions
(String path, IndentedFileWriter writer, JsonObject json)
Plugin/src/main/java/dev/rosewood/roseloot/util/VanillaLootTableConverter.java:605
↓ 2 callers
Method
writeItemFunctions
(String path, IndentedFileWriter writer, JsonObject json)
Plugin/src/main/java/dev/rosewood/roseloot/util/VanillaLootTableConverter.java:1045
↓ 2 callers
Method
writeLootTableHeader
(String path, IndentedFileWriter writer)
Plugin/src/main/java/dev/rosewood/roseloot/util/VanillaLootTableConverter.java:301
↓ 2 callers
Method
writeTableContents
(String path, IndentedFileWriter writer, JsonObject json)
Plugin/src/main/java/dev/rosewood/roseloot/util/VanillaLootTableConverter.java:305
↓ 1 callers
Method
add
Adds a placeholder to the loot placeholders @param key The key of the placeholder @param value The value of the placeholder
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootPlaceholders.java:22
↓ 1 callers
Method
addContextPlaceholders
Adds placeholders relative to this context
Plugin/src/main/java/dev/rosewood/roseloot/loot/context/LootContext.java:246
↓ 1 callers
Method
all
()
Plugin/src/main/java/dev/rosewood/roseloot/loot/OverwriteExisting.java:23
↓ 1 callers
Method
allowsRecursion
@return true if this LootTable allows recursion
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootTable.java:76
↓ 1 callers
Method
apply
Applies stored ItemMeta information to the given ItemStack @param itemStack The ItemStack to apply ItemMeta to @param context The LootContext, nullab
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/meta/ItemLootMeta.java:207
↓ 1 callers
Method
applyComponentProperties
(ItemStack itemStack, StringBuilder stringBuilder)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/meta/ItemLootMeta.java:434
↓ 1 callers
Method
applyDurability
Applies the durability change to the given item. @param player The player using the tool, may be null @param itemStack The item having its durability
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/ChangeToolDurabilityLootItem.java:65
↓ 1 callers
Method
applyProperties
(ItemStack itemStack, StringBuilder stringBuilder)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/meta/ArmorItemLootMeta.java:51
↓ 1 callers
Method
applyProperties
(ItemStack itemStack, StringBuilder stringBuilder)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/meta/ItemLootMeta.java:376
↓ 1 callers
Method
availableOrContains
(T entity, Collection<V> values, Function<T, V> supplier, boolean allowEmptyValues)
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/EntityPropertyConditions.java:321
↓ 1 callers
Method
build
@return A new LootTableType with the given parameters
Plugin/src/main/java/dev/rosewood/roseloot/loot/table/LootTableType.java:105
↓ 1 callers
Method
builder
@return a new LootTableType builder
Plugin/src/main/java/dev/rosewood/roseloot/loot/table/LootTableType.java:58
↓ 1 callers
Method
canTriggerWith
Checks if this GroupTriggerableLootItem can trigger with the given other GroupTriggerableLootItem. @param other The other GroupTriggerableLootItem @r
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/GroupTriggerableLootItem.java:33
↓ 1 callers
Method
checkBalance
Gets the balance of the specified player, or 0 if the balance was unable to be looked up. @param offlinePlayer The player to get the balance of @para
Plugin/src/main/java/dev/rosewood/roseloot/hook/economy/EconomyProvider.java:23
↓ 1 callers
Method
checkCooldown
Checks if a player is on cooldown for a certain cooldown ID. @param cooldownId The ID of the cooldown @param player The player to check, null for glo
Plugin/src/main/java/dev/rosewood/roseloot/manager/CooldownManager.java:30
↓ 1 callers
Method
convertDirectory
(File directory, File destination)
Plugin/src/main/java/dev/rosewood/roseloot/util/VanillaLootTableConverter.java:70
↓ 1 callers
Method
convertVanilla
(File destination)
Plugin/src/main/java/dev/rosewood/roseloot/util/VanillaLootTableConverter.java:54
↓ 1 callers
Method
copyPlaceholders
Copies placeholders from this LootContext to another LootContext @param otherContext the other LootContext
Plugin/src/main/java/dev/rosewood/roseloot/loot/context/LootContext.java:222
↓ 1 callers
Method
copyTo
Copies the placeholders from this LootPlaceholders to another LootPlaceholders @param other The other LootPlaceholders
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootPlaceholders.java:71
↓ 1 callers
Method
enchantWithLevels
Randomly enchants an item using vanilla logic @param itemStack The ItemStack to enchant @param levels The level of the enchant (equivalent to enchant
NMS/Wrapper/src/main/java/dev/rosewood/roseloot/nms/NMSHandler.java:19
↓ 1 callers
Method
formatCurrency
Formats a currency value to a user-displayable string. @param amount The currency amount to format @param currency The currency ID to use, nullable @
Plugin/src/main/java/dev/rosewood/roseloot/hook/economy/EconomyProvider.java:14
↓ 1 callers
Method
from
(ItemStack item)
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/EntityPropertyConditions.java:406
↓ 1 callers
Method
fromSection
(Material material, ConfigurationSection section)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/meta/ItemLootMeta.java:372
↓ 1 callers
Method
fromString
(String name)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/ItemLootItem.java:285
↓ 1 callers
Method
fromString
(String name)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/RoseStackerLootItem.java:95
↓ 1 callers
Method
fromString
(String name)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/MessageLootItem.java:90
↓ 1 callers
Method
fromString
(String name)
Plugin/src/main/java/dev/rosewood/roseloot/hook/items/CustomItemPlugin.java:87
↓ 1 callers
Method
fromString
(String name)
Plugin/src/main/java/dev/rosewood/roseloot/hook/economy/EconomyPlugin.java:41
↓ 1 callers
Method
generate
(LootContext context)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/ContainerContentsLootItem.java:23
↓ 1 callers
Method
get
(String type, int stackSize)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/RoseStackerLootItem.java:66
↓ 1 callers
Method
get
Gets an Optional LootContext value based on its LootContextParam @param param the LootContextParam to get the value for @param <T> the type of the va
Plugin/src/main/java/dev/rosewood/roseloot/loot/context/LootContext.java:76
↓ 1 callers
Method
getAllItems
(LootContext context)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/LootTableLootItem.java:180
↓ 1 callers
Method
getBiomeID
(org.bukkit.World world, Location location)
Plugin/src/main/java/dev/rosewood/roseloot/hook/TerraHook.java:14
↓ 1 callers
Method
getBiomeName
Gets the name of the biome at the given Location @param location The location to get the biome at @return The name of the biome at the given Location
Plugin/src/main/java/dev/rosewood/roseloot/hook/biomes/BiomeProvider.java:27
↓ 1 callers
Method
getBlockDataProperties
(ImmutableBlockState blockState)
Plugin/src/main/java/dev/rosewood/roseloot/listener/hook/CraftEngineBlockBreakListener.java:88
↓ 1 callers
Method
getBlockInfo
Gets optional block info used from the given value @param value the value to get the item from @return an optional item
Plugin/src/main/java/dev/rosewood/roseloot/loot/context/LootContextParam.java:81
↓ 1 callers
Method
getBonusAmount
(LootContext context, int originalAmount)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/ItemLootItem.java:254
↓ 1 callers
Method
getConditionSuffix
@return a suffix to be added to the condition name
Plugin/src/main/java/dev/rosewood/roseloot/hook/items/ItemProvider.java:67
↓ 1 callers
Method
getCooldowns
()
Plugin/src/main/java/dev/rosewood/roseloot/manager/DataManager.java:50
↓ 1 callers
Method
getDeprecationReplacement
@return The deprecation replacement condition, or null if there is no replacement
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/BaseLootCondition.java:78
↓ 1 callers
Method
getEntityItemUsed
Gets the item used by an entity @param entity The entity to get the item from @return The item used by the entity
Plugin/src/main/java/dev/rosewood/roseloot/util/LootUtils.java:336
↓ 1 callers
Method
getExtras
@return the extra loot items which aren't an item or experience drop
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootContents.java:117
↓ 1 callers
Method
getFailToResolveMessage
(String itemId)
Plugin/src/main/java/dev/rosewood/roseloot/loot/item/ItemLootItem.java:79
↓ 1 callers
Method
getFileName
(File file)
Plugin/src/main/java/dev/rosewood/roseloot/util/LootUtils.java:221
↓ 1 callers
Method
getFormatted
Gets a string from this provider with placeholders and colors applied @param context The LootContext @return The string with placeholders and colors
Plugin/src/main/java/dev/rosewood/roseloot/provider/StringProvider.java:26
↓ 1 callers
Method
getInHandLootConditionPredicate
()
Plugin/src/main/java/dev/rosewood/roseloot/hook/items/CustomItemPlugin.java:67
↓ 1 callers
Method
getInteger
(LootContext context)
Plugin/src/main/java/dev/rosewood/roseloot/provider/NumberProvider.java:177
↓ 1 callers
Method
getInventoryContainsLootConditionFunction
()
Plugin/src/main/java/dev/rosewood/roseloot/hook/items/CustomItemPlugin.java:83
↓ 1 callers
Method
getItemId
Gets the item ID for the given ItemStack @param item The ItemStack to look up @return The item ID for the given ItemStack, or null if no item IDs mat
Plugin/src/main/java/dev/rosewood/roseloot/hook/items/ItemProvider.java:47
↓ 1 callers
Method
getItemIds
Gets the item IDs for the given ItemStack, may include subtypes @param item The ItemStack to look up @return The item ID for the given ItemStack, or
Plugin/src/main/java/dev/rosewood/roseloot/hook/items/ItemProvider.java:57
↓ 1 callers
Method
getListValue
(NBTCompound compound, NBTType type, String key, int index)
Plugin/src/main/java/dev/rosewood/roseloot/hook/conditions/nbt/NBTCondition.java:94
↓ 1 callers
Method
getLootComponentsRecursively
(String fileName, ConfigurationSection componentsSection, String parents)
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:329
↓ 1 callers
Method
getLootConditionPredicate
()
Plugin/src/main/java/dev/rosewood/roseloot/hook/biomes/CustomBiomePlugin.java:29
↓ 1 callers
Method
getLootTablePath
(File path)
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:291
↓ 1 callers
Method
getLootTableType
(String name)
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:677
↓ 1 callers
Method
getLootTableTypeName
(LootTableType lootTableType)
Plugin/src/main/java/dev/rosewood/roseloot/manager/LootTableManager.java:683
↓ 1 callers
Method
getMusicInstrument
(String id)
Plugin/src/main/java/dev/rosewood/roseloot/util/NewerVersionUtils.java:22
↓ 1 callers
Method
getMusicInstrumentKey
(MusicInstrument patternType)
Plugin/src/main/java/dev/rosewood/roseloot/util/NewerVersionUtils.java:42
↓ 1 callers
Method
getNBTCompound
(LootContext context)
Plugin/src/main/java/dev/rosewood/roseloot/hook/conditions/nbt/NBTCondition.java:53
↓ 1 callers
Method
getNBTValue
(LootContext context, String path)
Plugin/src/main/java/dev/rosewood/roseloot/hook/conditions/nbt/NBTCondition.java:55
↓ 1 callers
Method
getNextItem
()
Plugin/src/main/java/dev/rosewood/roseloot/listener/VaultListener.java:164
↓ 1 callers
Method
getOverwriteChance
()
Plugin/src/main/java/dev/rosewood/roseloot/listener/VaultListener.java:178
↓ 1 callers
Method
getOverwriteExistingValues
@return the OverwriteExisting values of the loot generation
Plugin/src/main/java/dev/rosewood/roseloot/event/PostLootTableGenerateEvent.java:87
↓ 1 callers
Method
getPatternType
(String id)
Plugin/src/main/java/dev/rosewood/roseloot/util/VersionUtils.java:165
↓ 1 callers
Method
getPatternTypeKey
(PatternType patternType)
Plugin/src/main/java/dev/rosewood/roseloot/util/VersionUtils.java:184
↓ 1 callers
Method
getRegisteredConditions
@return an unmodifiable map of registered LootConditions
Plugin/src/main/java/dev/rosewood/roseloot/event/LootConditionRegistrationEvent.java:28
↓ 1 callers
Method
getRegisteredCustomLootConditions
@return An unmodifiable map of all LootConditions registered through this API
Plugin/src/main/java/dev/rosewood/roseloot/api/RoseLootAPI.java:175
↓ 1 callers
Method
getRegisteredCustomLootItemTypes
@return An unmodifiable map of all LootItem types registered through this API
Plugin/src/main/java/dev/rosewood/roseloot/api/RoseLootAPI.java:183
↓ 1 callers
Method
getRegisteredCustomLootTableTypes
@return An unmodifiable map of all LootTableTypes registered through this API
Plugin/src/main/java/dev/rosewood/roseloot/api/RoseLootAPI.java:191
↓ 1 callers
Method
getRegisteredLootItemTypes
@return an unmodifiable map of registered LootItem types
Plugin/src/main/java/dev/rosewood/roseloot/event/LootItemTypeRegistrationEvent.java:29
↓ 1 callers
Method
getRegisteredLootTableTypes
@return an unmodifiable map of registered LootTableTypes
Plugin/src/main/java/dev/rosewood/roseloot/event/LootTableTypeRegistrationEvent.java:27
↓ 1 callers
Method
getReloadSender
()
Plugin/src/main/java/dev/rosewood/roseloot/command/command/LoggingReloadCommand.java:32
↓ 1 callers
Method
getRestrictedItemPickup
(ItemMeta itemMeta)
Plugin/src/main/java/dev/rosewood/roseloot/util/LootUtils.java:191
↓ 1 callers
Method
getReturnValueReflectively
(Class<T> classType0, String className, T value, Class<R> returnType, String methodName)
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/EntityPropertyConditions.java:336
↓ 1 callers
Method
getSupportedBlockBreaker
(Block block)
Plugin/src/main/java/dev/rosewood/roseloot/manager/SupportedBlockManager.java:43
↓ 1 callers
Method
getTimeStringUntil
Gets the time string until a certain time @param target The target time @return The time string or null if the target time is in the past
Plugin/src/main/java/dev/rosewood/roseloot/util/TimeUtils.java:54
↓ 1 callers
Method
getValue
(NBTCompound compound, NBTType type, String key)
Plugin/src/main/java/dev/rosewood/roseloot/hook/conditions/nbt/NBTCondition.java:106
↓ 1 callers
Method
getVoucherLootTableName
Gets the loottable of the voucher from the ItemStack @param itemStack The ItemStack to get the loottable from @return The loottable of the voucher, o
Plugin/src/main/java/dev/rosewood/roseloot/util/VoucherUtils.java:40
↓ 1 callers
Method
getWeight
Gets the weight of this component taking the quality into account @param context The LootContext @return the weight of this component
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootComponent.java:111
↓ 1 callers
Method
hasFailedConditions
@return true if the loot generation failed at any point due to top-level conditions not being met
Plugin/src/main/java/dev/rosewood/roseloot/loot/LootResult.java:67
↓ 1 callers
Method
hasPrecedence
(String incomingOp, String stackOp)
Plugin/src/main/java/dev/rosewood/roseloot/loot/condition/LootConditionParser.java:71
↓ 1 callers
Method
isCancelled
()
Plugin/src/main/java/dev/rosewood/roseloot/event/PostLootTableGenerateEvent.java:149
↓ 1 callers
Method
isEnabled
()
Plugin/src/main/java/dev/rosewood/roseloot/hook/JustLootItHook.java:9
↓ 1 callers
Method
isEnabled
()
Plugin/src/main/java/dev/rosewood/roseloot/hook/CraftEngineHook.java:9
↓ 1 callers
Method
isEnabled
()
Plugin/src/main/java/dev/rosewood/roseloot/hook/NexoHook.java:9
↓ 1 callers
Method
isEnabled
()
Plugin/src/main/java/dev/rosewood/roseloot/hook/OraxenHook.java:9
← previous
next →
201–300 of 1,460, ranked by callers