Interface StaticProtocolObject

All Superinterfaces:
net.kyori.adventure.key.Keyed, ProtocolObject
All Known Subinterfaces:
Attribute, Block, DataComponent<T>, EntityType, FeatureFlag, Material, Particle, PotionEffect, PotionType, StatisticType, VillagerProfession
All Known Implementing Classes:
ArgumentParserType, Particle.Block, Particle.BlockCrumble, Particle.BlockMarker, Particle.Dust, Particle.DustColorTransition, Particle.DustPillar, Particle.EntityEffect, Particle.FallingDust, Particle.Item, Particle.SculkCharge, Particle.Shriek, Particle.Simple, Particle.Trail, Particle.Vibration, RecipeBookCategory, RecipeDisplayType, RecipeType, SlotDisplayType, VillagerProfessionImpl, VillagerType

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

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

    Methods inherited from interface net.minestom.server.registry.ProtocolObject

    registry
  • 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
    • id

      @Contract(pure=true) int id()