Interface LootContextSources.ContextDecorator
- Enclosing class:
LootContextSources
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptiondefault LootContextcreateContext(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) default LootParamscreateParams(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) customize(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, LootParams.Builder params)
-
Method Details
-
customize
LootParams customize(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, LootParams.Builder params) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
createParams
default LootParams createParams(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
createContext
default LootContext createContext(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-