Package net.minecraft.util.registry
Class WorldGenSettingsExport<T>
java.lang.Object
net.minecraft.util.datafix.DelegatingDynamicOps<T>
net.minecraft.util.registry.WorldGenSettingsExport<T>
- All Implemented Interfaces:
com.mojang.serialization.DynamicOps<T>
-
Field Summary
Fields inherited from class net.minecraft.util.datafix.DelegatingDynamicOps
delegate
-
Constructor Summary
ModifierConstructorDescriptionprivate
WorldGenSettingsExport
(com.mojang.serialization.DynamicOps<T> p_i232591_1_, DynamicRegistries p_i232591_2_) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> WorldGenSettingsExport<T>
create
(com.mojang.serialization.DynamicOps<T> p_240896_0_, DynamicRegistries p_240896_1_) protected <E> com.mojang.serialization.DataResult<T>
encode
(E p_241811_1_, T p_241811_2_, RegistryKey<? extends Registry<E>> p_241811_3_, com.mojang.serialization.Codec<E> p_241811_4_) Methods inherited from class net.minecraft.util.datafix.DelegatingDynamicOps
compressMaps, convertTo, createBoolean, createByte, createByteList, createDouble, createFloat, createInt, createIntList, createList, createLong, createLongList, createMap, createNumeric, createShort, createString, empty, getBooleanValue, getByteBuffer, getIntStream, getList, getLongStream, getMap, getMapEntries, getMapValues, getNumberValue, getStream, getStringValue, listBuilder, mapBuilder, mergeToList, mergeToList, mergeToMap, mergeToMap, remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.serialization.DynamicOps
convertList, convertMap, createMap, emptyList, emptyMap, get, getGeneric, getNumberValue, mergeToMap, mergeToPrimitive, set, update, updateGeneric, withDecoder, withEncoder, withParser
-
Field Details
-
registryHolder
-
-
Constructor Details
-
WorldGenSettingsExport
private WorldGenSettingsExport(com.mojang.serialization.DynamicOps<T> p_i232591_1_, DynamicRegistries p_i232591_2_)
-
-
Method Details
-
create
public static <T> WorldGenSettingsExport<T> create(com.mojang.serialization.DynamicOps<T> p_240896_0_, DynamicRegistries p_240896_1_) -
encode
protected <E> com.mojang.serialization.DataResult<T> encode(E p_241811_1_, T p_241811_2_, RegistryKey<? extends Registry<E>> p_241811_3_, com.mojang.serialization.Codec<E> p_241811_4_)
-