Package net.minestom.server.registry
Interface StaticProtocolObject
- All Superinterfaces:
net.kyori.adventure.key.Keyed,ProtocolObject
- All Known Subinterfaces:
Attribute,Block,DataComponent<T>,EntityType,FeatureFlag,Material,Particle,PotionEffect,PotionType,StatisticType
- All Known Implementing Classes:
Particle.Block,Particle.BlockMarker,Particle.Dust,Particle.DustColorTransition,Particle.DustPillar,Particle.EntityEffect,Particle.FallingDust,Particle.Item,Particle.SculkCharge,Particle.Shriek,Particle.Simple,Particle.Vibration,RecipeType
-
Method Summary
Methods inherited from interface net.minestom.server.registry.ProtocolObject
registry
-
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
-
id
@Contract(pure=true) int id()
-