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.functionThe field for thefunctionrecord component.Methods in net.minecraft.advancements that return types with arguments of type CacheableFunctionModifier and TypeMethodDescriptionAdvancementRewards.function()Returns the value of thefunctionrecord component.Constructor parameters in net.minecraft.advancements with type arguments of type CacheableFunctionModifierConstructorDescriptionAdvancementRewards(int experience, List<ResourceKey<LootTable>> loot, List<ResourceLocation> recipes, Optional<CacheableFunction> function) Creates an instance of aAdvancementRewardsrecord 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