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>
public class WorldGenSettingsExport<T> extends DelegatingDynamicOps<T>
-
-
Field Summary
Fields Modifier and Type Field Description private DynamicRegistries
registryHolder
-
Fields inherited from class net.minecraft.util.datafix.DelegatingDynamicOps
delegate
-
-
Constructor Summary
Constructors Modifier Constructor Description private
WorldGenSettingsExport(com.mojang.serialization.DynamicOps<T> p_i232591_1_, DynamicRegistries p_i232591_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <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
-
-
-
-
Field Detail
-
registryHolder
private final DynamicRegistries registryHolder
-
-
Constructor Detail
-
WorldGenSettingsExport
private WorldGenSettingsExport(com.mojang.serialization.DynamicOps<T> p_i232591_1_, DynamicRegistries p_i232591_2_)
-
-
Method Detail
-
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_)
-
-