Class RegistryMapAppender.Mapped<K,V>
java.lang.Object
dev.dhyces.trimmed.api.data.map.appenders.MapAppender<K,V>
dev.dhyces.trimmed.api.data.map.appenders.RegistryMapAppender<K,V>
dev.dhyces.trimmed.api.data.map.appenders.RegistryMapAppender.Mapped<K,V>
- Enclosing class:
RegistryMapAppender<K,V>
-
Nested Class Summary
Nested classes/interfaces inherited from class dev.dhyces.trimmed.api.data.map.appenders.RegistryMapAppender
RegistryMapAppender.Mapped<K,V> -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class dev.dhyces.trimmed.api.data.map.appenders.MapAppender
builder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<S extends MapAppender<K,V>>
SintrusivePutAll(Map<K, V> map) <S extends MapAppender<K,V>>
SintrusivePutAllOptional(Map<K, V> map) <S extends MapAppender<K,V>>
S<S extends MapAppender<K,V>>
S<S extends MapAppender<K,V>>
SputOptional(Supplier<K> key, V value) <S extends MapAppender<K,V>>
SputOptional(K key, V value) Methods inherited from class dev.dhyces.trimmed.api.data.map.appenders.RegistryMapAppender
put, put, putOptional, putOptionalMethods inherited from class dev.dhyces.trimmed.api.data.map.appenders.MapAppender
append, append, appendOptional, appendOptional, put, putAll, putAllOptional, putOptional, replaces, self
-
Field Details
-
encoder
-
-
Constructor Details
-
Mapped
public Mapped(MapBuilder<V> builder, net.minecraft.core.HolderLookup.RegistryLookup<K> lookup, Function<K, @Nullable net.minecraft.resources.ResourceLocation> encoder)
-
-
Method Details
-
put
-
put
-
putOptional
-
putOptional
-
intrusivePutAll
-
intrusivePutAllOptional
-