Package net.minestom.server.registry
Interface StaticProtocolObject<T>
- All Superinterfaces:
Holder<T>,net.kyori.adventure.key.Keyed,RegistryKey<T>
- All Known Subinterfaces:
Attribute,Block,BlockSoundType,DataComponent<T>,EntityType,FeatureFlag,Fluid,GameEvent,Material,Particle,PotionEffect,PotionType,StatisticType,VillagerProfession
- All Known Implementing Classes:
ArgumentParserType,BlockSoundImpl,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.TintedLeaves,Particle.Trail,Particle.Vibration,RecipeBookCategory,RecipeDisplayType,RecipeType,SlotDisplayType,VillagerProfessionImpl,VillagerType
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minestom.server.registry.Holder
Holder.Direct<T> -
Method Summary
-
Method Details
-
name
- Specified by:
namein interfaceRegistryKey<T>
-
key
@Contract(pure=true) @NotNull @NotNull net.kyori.adventure.key.Key key()- Specified by:
keyin interfacenet.kyori.adventure.key.Keyed
-
id
@Contract(pure=true) int id() -
registry
-