Package net.minecraft.structure.pool
Interface StructurePoolElementType<P extends StructurePoolElement>
public interface StructurePoolElementType<P extends StructurePoolElement>
-
Field Summary
Fields Modifier and Type Field Description static StructurePoolElementType<EmptyPoolElement>
EMPTY_POOL_ELEMENT
static StructurePoolElementType<FeaturePoolElement>
FEATURE_POOL_ELEMENT
static StructurePoolElementType<LegacySinglePoolElement>
LEGACY_SINGLE_POOL_ELEMENT
static StructurePoolElementType<ListPoolElement>
LIST_POOL_ELEMENT
static StructurePoolElementType<SinglePoolElement>
SINGLE_POOL_ELEMENT
-
Method Summary
Modifier and Type Method Description com.mojang.serialization.Codec<P>
codec()
static <P extends StructurePoolElement>
StructurePoolElementType<P>method_28885(String string, com.mojang.serialization.Codec<P> codec)
-
Field Details
-
SINGLE_POOL_ELEMENT
-
LIST_POOL_ELEMENT
-
FEATURE_POOL_ELEMENT
-
EMPTY_POOL_ELEMENT
-
LEGACY_SINGLE_POOL_ELEMENT
-
-
Method Details
-
codec
com.mojang.serialization.Codec<P> codec() -
method_28885
static <P extends StructurePoolElement> StructurePoolElementType<P> method_28885(String string, com.mojang.serialization.Codec<P> codec)
-