Interface ProtocolObject

All Superinterfaces:
net.kyori.adventure.key.Keyed
All Known Subinterfaces:
Biome, Block, DamageType, Enchantment, EntityType, Material, Particle, PotionEffect, PotionType, SoundEvent, StaticProtocolObject, StatisticType, TrimMaterial, TrimPattern
All Known Implementing Classes:
PaintingMeta.Variant

public interface ProtocolObject extends net.kyori.adventure.key.Keyed
  • Method Summary

    Modifier and Type
    Method
    Description
    default @NotNull net.kyori.adventure.key.Key
    key()
     
    default @NotNull String
     
    @NotNull NamespaceID
     
  • Method Details

    • namespace

      @Contract(pure=true) @NotNull @NotNull NamespaceID namespace()
    • name

      @Contract(pure=true) @NotNull default @NotNull String name()
    • key

      @Contract(pure=true) @NotNull default @NotNull net.kyori.adventure.key.Key key()
      Specified by:
      key in interface net.kyori.adventure.key.Keyed