Package net.minestom.server.registry
Interface ProtocolObject
- All Superinterfaces:
net.kyori.adventure.key.Keyed
- All Known Subinterfaces:
Block
,Enchantment
,EntityType
,Material
,Particle
,PotionEffect
,PotionType
,SoundEvent
,StatisticType
public interface ProtocolObject
extends net.kyori.adventure.key.Keyed
-
Method Summary
-
Method Details
-
namespace
-
key
@Contract(pure=true) @NotNull default @NotNull net.kyori.adventure.key.Key key()- Specified by:
key
in interfacenet.kyori.adventure.key.Keyed
-
name
-
id
@Contract(pure=true) int id()
-