接口 StructurePoolElementType<P extends StructurePoolElement>


  • public interface StructurePoolElementType<P extends StructurePoolElement>
    Mappings:
    Namespace Name
    official cww
    intermediary net/minecraft/class_3816
    named net/minecraft/structure/pool/StructurePoolElementType
    • 字段详细资料

      • SINGLE_POOL_ELEMENT

        static final StructurePoolElementType<SinglePoolElement> SINGLE_POOL_ELEMENT
        Mappings:
        Namespace Name Mixin selector
        official a Lcww;a:Lcww;
        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

        static final StructurePoolElementType<ListPoolElement> LIST_POOL_ELEMENT
        Mappings:
        Namespace Name Mixin selector
        official b Lcww;b:Lcww;
        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

        static final StructurePoolElementType<FeaturePoolElement> FEATURE_POOL_ELEMENT
        Mappings:
        Namespace Name Mixin selector
        official c Lcww;c:Lcww;
        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

        static final StructurePoolElementType<EmptyPoolElement> EMPTY_POOL_ELEMENT
        Mappings:
        Namespace Name Mixin selector
        official d Lcww;d:Lcww;
        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

        static final StructurePoolElementType<LegacySinglePoolElement> LEGACY_SINGLE_POOL_ELEMENT
        Mappings:
        Namespace Name Mixin selector
        official e Lcww;e:Lcww;
        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;
    • 方法详细资料

      • codec

        com.mojang.serialization.Codec<P> codec()
        Mappings:
        Namespace Name Mixin selector
        official codec Lcww;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 Lcww;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lcww;
        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;