Uses of Record Class
net.minecraft.world.PersistentState.Context
Packages that use PersistentState.Context
-
Uses of PersistentState.Context in net.minecraft.world
Fields in net.minecraft.world declared as PersistentState.ContextModifier and TypeFieldDescriptionprivate final PersistentState.Context
PersistentStateManager.context
Fields in net.minecraft.world with type parameters of type PersistentState.ContextModifier and TypeFieldDescriptionprivate final Function
<PersistentState.Context, com.mojang.serialization.Codec<T>> PersistentStateType.codec
The field for thecodec
record component.private final Function
<PersistentState.Context, T> PersistentStateType.constructor
The field for theconstructor
record component.Methods in net.minecraft.world that return types with arguments of type PersistentState.ContextModifier and TypeMethodDescriptionFunction
<PersistentState.Context, com.mojang.serialization.Codec<T>> PersistentStateType.codec()
Returns the value of thecodec
record component.PersistentStateType.constructor()
Returns the value of theconstructor
record component.Constructors in net.minecraft.world with parameters of type PersistentState.ContextModifierConstructorDescriptionPersistentStateManager
(PersistentState.Context context, Path directory, com.mojang.datafixers.DataFixer dataFixer, RegistryWrapper.WrapperLookup registries) Constructor parameters in net.minecraft.world with type arguments of type PersistentState.ContextModifierConstructorDescriptionPersistentStateType
(String string, Function<PersistentState.Context, T> function, Function<PersistentState.Context, com.mojang.serialization.Codec<T>> function2, DataFixTypes dataFixTypes)