Interface StructurePoolElementType<P extends StructurePoolElement>
public interface StructurePoolElementType<P extends StructurePoolElement>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructurePoolElementType<EmptyPoolElement>
static final StructurePoolElementType<FeaturePoolElement>
static final StructurePoolElementType<LegacySinglePoolElement>
static final StructurePoolElementType<ListPoolElement>
static final StructurePoolElementType<SinglePoolElement>
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<P>
codec()
static <P extends StructurePoolElement>
StructurePoolElementType<P>
-
Field Details
-
SINGLE
-
LIST
-
FEATURE
-
EMPTY
-
LEGACY
-
-
Method Details
-
codec
com.mojang.serialization.Codec<P> codec() -
register
static <P extends StructurePoolElement> StructurePoolElementType<P> register(String p_210551_, com.mojang.serialization.Codec<P> p_210552_)
-