Uses of Class
net.minecraft.commands.CacheableFunction
-
Uses of CacheableFunction in net.minecraft.advancements
Modifier and TypeFieldDescriptionprivate final Optional
<CacheableFunction> AdvancementRewards.function
The field for thefunction
record component.Modifier and TypeMethodDescriptionAdvancementRewards.function()
Returns the value of thefunction
record component.ModifierConstructorDescriptionAdvancementRewards
(int experience, List<ResourceKey<LootTable>> loot, List<ResourceLocation> recipes, Optional<CacheableFunction> function) Creates an instance of aAdvancementRewards
record class. -
Uses of CacheableFunction in net.minecraft.commands
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<CacheableFunction> CacheableFunction.CODEC