Uses of Interface
net.minecraft.world.level.storage.loot.functions.LootItemFunction
Package
Description
-
Uses of LootItemFunction in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic LootItemFunction
ResourceLocationArgument.getItemModifier
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_171032_, String p_171033_) -
Uses of LootItemFunction in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static ItemStack
ItemCommands.applyModifier
(CommandSourceStack p_180284_, LootItemFunction p_180285_, ItemStack p_180286_) private static int
ItemCommands.blockToBlock
(CommandSourceStack p_180308_, BlockPos p_180309_, int p_180310_, BlockPos p_180311_, int p_180312_, LootItemFunction p_180313_) private static int
ItemCommands.blockToEntities
(CommandSourceStack p_180321_, BlockPos p_180322_, int p_180323_, Collection<? extends Entity> p_180324_, int p_180325_, LootItemFunction p_180326_) private static int
ItemCommands.entityToBlock
(CommandSourceStack p_180264_, Entity p_180265_, int p_180266_, BlockPos p_180267_, int p_180268_, LootItemFunction p_180269_) private static int
ItemCommands.entityToEntities
(CommandSourceStack p_180277_, Entity p_180278_, int p_180279_, Collection<? extends Entity> p_180280_, int p_180281_, LootItemFunction p_180282_) private static int
ItemCommands.modifyBlockItem
(CommandSourceStack p_180297_, BlockPos p_180298_, int p_180299_, LootItemFunction p_180300_) private static int
ItemCommands.modifyEntityItem
(CommandSourceStack p_180337_, Collection<? extends Entity> p_180338_, int p_180339_, LootItemFunction p_180340_) -
Uses of LootItemFunction in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionprotected final LootItemFunction[]
LootDataManager.FunctionSequence.functions
(package private) final LootItemFunction[]
LootPool.functions
(package private) final LootItemFunction[]
LootTable.functions
Modifier and TypeFieldDescriptionprivate final List<LootItemFunction>
LootPool.Builder.functions
private final List<LootItemFunction>
LootTable.Builder.functions
static final LootDataType<LootItemFunction>
LootDataType.MODIFIER
Modifier and TypeMethodDescriptionstatic LootItemFunction
LootDataManager.createComposite
(LootItemFunction[] p_279450_) Modifier and TypeMethodDescriptionstatic LootItemFunction
LootDataManager.createComposite
(LootItemFunction[] p_279450_) LootContext.createVisitedEntry
(LootItemFunction p_279163_) ModifierConstructorDescriptionFunctionSequence
(LootItemFunction[] p_279339_) (package private)
LootPool
(LootPoolEntryContainer[] p_165128_, LootItemCondition[] p_165129_, LootItemFunction[] p_165130_, NumberProvider p_165131_, NumberProvider p_165132_, @Nullable String name) (package private)
LootTable
(LootContextParamSet p_287716_, ResourceLocation p_287737_, LootPool[] p_287700_, LootItemFunction[] p_287663_) -
Uses of LootItemFunction in net.minecraft.world.level.storage.loot.entries
Modifier and TypeFieldDescriptionprotected final LootItemFunction[]
LootPoolSingletonContainer.functions
Modifier and TypeFieldDescriptionprivate final List<LootItemFunction>
LootPoolSingletonContainer.Builder.functions
Modifier and TypeMethodDescriptionprotected LootItemFunction[]
LootPoolSingletonContainer.Builder.getFunctions()
Modifier and TypeMethodDescriptionLootPoolSingletonContainer.EntryConstructor.build
(int p_79727_, int p_79728_, LootItemCondition[] p_79729_, LootItemFunction[] p_79730_) protected DynamicLoot
DynamicLoot.Serializer.deserialize
(com.google.gson.JsonObject p_79493_, com.google.gson.JsonDeserializationContext p_79494_, int p_79495_, int p_79496_, LootItemCondition[] p_79497_, LootItemFunction[] p_79498_) EmptyLootItem.Serializer.deserialize
(com.google.gson.JsonObject p_79536_, com.google.gson.JsonDeserializationContext p_79537_, int p_79538_, int p_79539_, LootItemCondition[] p_79540_, LootItemFunction[] p_79541_) protected LootItem
LootItem.Serializer.deserialize
(com.google.gson.JsonObject p_79594_, com.google.gson.JsonDeserializationContext p_79595_, int p_79596_, int p_79597_, LootItemCondition[] p_79598_, LootItemFunction[] p_79599_) protected abstract T
LootPoolSingletonContainer.Serializer.deserialize
(com.google.gson.JsonObject p_79744_, com.google.gson.JsonDeserializationContext p_79745_, int p_79746_, int p_79747_, LootItemCondition[] p_79748_, LootItemFunction[] p_79749_) protected LootTableReference
LootTableReference.Serializer.deserialize
(com.google.gson.JsonObject p_79786_, com.google.gson.JsonDeserializationContext p_79787_, int p_79788_, int p_79789_, LootItemCondition[] p_79790_, LootItemFunction[] p_79791_) protected TagEntry
TagEntry.Serializer.deserialize
(com.google.gson.JsonObject p_79873_, com.google.gson.JsonDeserializationContext p_79874_, int p_79875_, int p_79876_, LootItemCondition[] p_79877_, LootItemFunction[] p_79878_) ModifierConstructorDescription(package private)
DynamicLoot
(ResourceLocation p_79465_, int p_79466_, int p_79467_, LootItemCondition[] p_79468_, LootItemFunction[] p_79469_) (package private)
EmptyLootItem
(int p_79519_, int p_79520_, LootItemCondition[] p_79521_, LootItemFunction[] p_79522_) (package private)
LootItem
(Item p_79566_, int p_79567_, int p_79568_, LootItemCondition[] p_79569_, LootItemFunction[] p_79570_) protected
LootPoolSingletonContainer
(int p_79681_, int p_79682_, LootItemCondition[] p_79683_, LootItemFunction[] p_79684_) (package private)
LootTableReference
(ResourceLocation p_79756_, int p_79757_, int p_79758_, LootItemCondition[] p_79759_, LootItemFunction[] p_79760_) (package private)
TagEntry
(TagKey<Item> p_205078_, boolean p_205079_, int p_205080_, int p_205081_, LootItemCondition[] p_205082_, LootItemFunction[] p_205083_) -
Uses of LootItemFunction in net.minecraft.world.level.storage.loot.functions
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate final Function<LootItemCondition[],
LootItemFunction> LootItemConditionalFunction.DummyBuilder.constructor
Modifier and TypeMethodDescriptionCopyBlockState.Builder.build()
CopyNbtFunction.Builder.build()
EnchantRandomlyFunction.Builder.build()
EnchantWithLevelsFunction.Builder.build()
ExplorationMapFunction.Builder.build()
LootingEnchantFunction.Builder.build()
LootItemConditionalFunction.DummyBuilder.build()
LootItemFunction.Builder.build()
SetAttributesFunction.Builder.build()
SetBannerPatternFunction.Builder.build()
SetContainerContents.Builder.build()
SetEnchantmentsFunction.Builder.build()
SetLoreFunction.Builder.build()
SetStewEffectFunction.Builder.build()
Modifier and TypeMethodDescriptionprivate static LootItemFunctionType
LootItemFunctions.register
(String p_80763_, Serializer<? extends LootItemFunction> p_80764_) protected static LootItemConditionalFunction.Builder<?>
LootItemConditionalFunction.simpleBuilder
(Function<LootItemCondition[], LootItemFunction> p_80684_) ModifierConstructorDescriptionDummyBuilder
(Function<LootItemCondition[], LootItemFunction> p_80702_) LootItemFunctionType
(Serializer<? extends LootItemFunction> p_80734_)