Package fr.ghostrider584.axiom.metadata
Class MetadataCodecs
java.lang.Object
fr.ghostrider584.axiom.metadata.MetadataCodecs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends net.minestom.server.entity.metadata.EntityMeta>
MetadataCodec<T> extend(MetadataCodec<? super T> base, MetadataMapping<?>... additionalMappings) static <T extends net.minestom.server.entity.metadata.EntityMeta>
MetadataCodec<T> extend(MetadataCodec<? super T> base, List<MetadataMapping<?>> additionalMappings) static <T extends net.minestom.server.entity.metadata.EntityMeta>
MetadataCodec<T> metadataCodec(MetadataMapping<?>... mappings) static <T extends net.minestom.server.entity.metadata.EntityMeta>
MetadataCodec<T> metadataCodec(List<MetadataMapping<?>> mappings)
-
Constructor Details
-
MetadataCodecs
public MetadataCodecs()
-
-
Method Details
-
metadataCodec
public static <T extends net.minestom.server.entity.metadata.EntityMeta> MetadataCodec<T> metadataCodec(List<MetadataMapping<?>> mappings) -
metadataCodec
public static <T extends net.minestom.server.entity.metadata.EntityMeta> MetadataCodec<T> metadataCodec(MetadataMapping<?>... mappings) -
extend
public static <T extends net.minestom.server.entity.metadata.EntityMeta> MetadataCodec<T> extend(MetadataCodec<? super T> base, List<MetadataMapping<?>> additionalMappings) -
extend
public static <T extends net.minestom.server.entity.metadata.EntityMeta> MetadataCodec<T> extend(MetadataCodec<? super T> base, MetadataMapping<?>... additionalMappings)
-