Package net.minecraft.structure.pool
Interface StructurePoolElementType<P extends StructurePoolElement>
public interface StructurePoolElementType<P extends StructurePoolElement>
- Mappings:
Namespace Name official ctx
intermediary net/minecraft/class_3816
named net/minecraft/structure/pool/StructurePoolElementType
-
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>register(String id, com.mojang.serialization.Codec<P> codec)
-
Field Details
-
SINGLE_POOL_ELEMENT
- Mappings:
Namespace Name Mixin selector official a
Lctx;a:Lctx;
intermediary field_16973
Lnet/minecraft/class_3816;field_16973:Lnet/minecraft/class_3816;
named SINGLE_POOL_ELEMENT
Lnet/minecraft/structure/pool/StructurePoolElementType;SINGLE_POOL_ELEMENT:Lnet/minecraft/structure/pool/StructurePoolElementType;
-
LIST_POOL_ELEMENT
- Mappings:
Namespace Name Mixin selector official b
Lctx;b:Lctx;
intermediary field_16974
Lnet/minecraft/class_3816;field_16974:Lnet/minecraft/class_3816;
named LIST_POOL_ELEMENT
Lnet/minecraft/structure/pool/StructurePoolElementType;LIST_POOL_ELEMENT:Lnet/minecraft/structure/pool/StructurePoolElementType;
-
FEATURE_POOL_ELEMENT
- Mappings:
Namespace Name Mixin selector official c
Lctx;c:Lctx;
intermediary field_16971
Lnet/minecraft/class_3816;field_16971:Lnet/minecraft/class_3816;
named FEATURE_POOL_ELEMENT
Lnet/minecraft/structure/pool/StructurePoolElementType;FEATURE_POOL_ELEMENT:Lnet/minecraft/structure/pool/StructurePoolElementType;
-
EMPTY_POOL_ELEMENT
- Mappings:
Namespace Name Mixin selector official d
Lctx;d:Lctx;
intermediary field_16972
Lnet/minecraft/class_3816;field_16972:Lnet/minecraft/class_3816;
named EMPTY_POOL_ELEMENT
Lnet/minecraft/structure/pool/StructurePoolElementType;EMPTY_POOL_ELEMENT:Lnet/minecraft/structure/pool/StructurePoolElementType;
-
LEGACY_SINGLE_POOL_ELEMENT
- Mappings:
Namespace Name Mixin selector official e
Lctx;e:Lctx;
intermediary field_24016
Lnet/minecraft/class_3816;field_24016:Lnet/minecraft/class_3816;
named LEGACY_SINGLE_POOL_ELEMENT
Lnet/minecraft/structure/pool/StructurePoolElementType;LEGACY_SINGLE_POOL_ELEMENT:Lnet/minecraft/structure/pool/StructurePoolElementType;
-
-
Method Details
-
codec
com.mojang.serialization.Codec<P> codec()- Mappings:
Namespace Name Mixin selector official codec
Lctx;codec()Lcom/mojang/serialization/Codec;
intermediary codec
Lnet/minecraft/class_3816;codec()Lcom/mojang/serialization/Codec;
named codec
Lnet/minecraft/structure/pool/StructurePoolElementType;codec()Lcom/mojang/serialization/Codec;
-
register
static <P extends StructurePoolElement> StructurePoolElementType<P> register(String id, com.mojang.serialization.Codec<P> codec)- Mappings:
Namespace Name Mixin selector official a
Lctx;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lctx;
intermediary method_28885
Lnet/minecraft/class_3816;method_28885(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_3816;
named register
Lnet/minecraft/structure/pool/StructurePoolElementType;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/structure/pool/StructurePoolElementType;
-