Uses of Interface
net.neoforged.neoforge.registries.datamaps.DataMapValueRemover
-
Uses of DataMapValueRemover in net.neoforged.neoforge.common.data
Modifier and TypeClassDescriptionstatic class
DataMapProvider.AdvancedBuilder<T,
R, VR extends DataMapValueRemover<R, T>> Modifier and TypeMethodDescription<T,
R, VR extends DataMapValueRemover<R, T>>
DataMapProvider.AdvancedBuilder<T, R, VR> DataMapProvider.builder
(AdvancedDataMapType<R, T, VR> type) -
Uses of DataMapValueRemover in net.neoforged.neoforge.registries.datamaps
Modifier and TypeClassDescriptionfinal class
AdvancedDataMapType<R,
T, VR extends DataMapValueRemover<R, T>> A version ofdata map types
that has two more features for compatibility and conflict handling: mergers and removers.static final class
AdvancedDataMapType.Builder<T,
R, VR extends DataMapValueRemover<R, T>> A builder foradvanced data map types
.Modifier and TypeClassDescriptionstatic class
A remover that completely removes the value.Modifier and TypeFieldDescriptionprivate final Optional
<DataMapValueRemover<R, T>> DataMapEntry.Removal.remover
The field for theremover
record component.Modifier and TypeMethodDescription<VR1 extends DataMapValueRemover<R,
T>>
AdvancedDataMapType.Builder<T, R, VR1> AdvancedDataMapType.Builder.remover
(com.mojang.serialization.Codec<VR1> remover) Configures a remover for the data map.Modifier and TypeMethodDescriptionDataMapEntry.Removal.remover()
Returns the value of theremover
record component.ModifierConstructorDescriptionRemoval
(com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> key, Optional<DataMapValueRemover<R, T>> remover) Creates an instance of aRemoval
record class.