Uses of Class
net.minecraft.commands.CacheableFunction
Packages that use CacheableFunction
-
Uses of CacheableFunction in net.minecraft.advancements
Fields in net.minecraft.advancements with type parameters of type CacheableFunctionModifier and TypeFieldDescriptionprivate final Optional<CacheableFunction>
AdvancementRewards.function
The field for thefunction
record component.Methods in net.minecraft.advancements that return types with arguments of type CacheableFunctionModifier and TypeMethodDescriptionAdvancementRewards.function()
Returns the value of thefunction
record component.Constructor parameters in net.minecraft.advancements with type arguments of type CacheableFunctionModifierConstructorDescriptionAdvancementRewards
(int experience, List<ResourceLocation> loot, List<ResourceLocation> recipes, Optional<CacheableFunction> function) Creates an instance of aAdvancementRewards
record class. -
Uses of CacheableFunction in net.minecraft.commands
Fields in net.minecraft.commands with type parameters of type CacheableFunctionModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<CacheableFunction>
CacheableFunction.CODEC