Package net.minestom.server.registry
Interface ProtocolObject
- All Superinterfaces:
net.kyori.adventure.key.Keyed
- All Known Subinterfaces:
Attribute,BannerPattern,Biome,Block,DamageType,Enchantment,EntityType,FeatureFlag,Fluid,Material,Particle,PotionEffect,PotionType,SoundEvent,StaticProtocolObject,StatisticType,TrimMaterial,TrimPattern,VillagerProfession,VillagerType
- All Known Implementing Classes:
AttributeImpl,BannerPatternImpl,FeatureFlagImpl,FluidImpl,PaintingMeta.Variant,VillagerProfessionImpl,VillagerTypeImpl
public interface ProtocolObject
extends net.kyori.adventure.key.Keyed
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull net.kyori.adventure.key.Keykey()default @NotNull Stringname()@NotNull NamespaceID
-
Method Details
-
namespace
-
name
-
key
@Contract(pure=true) @NotNull default @NotNull net.kyori.adventure.key.Key key()- Specified by:
keyin interfacenet.kyori.adventure.key.Keyed
-