Interface Instrument
- All Superinterfaces:
MappedEntity
- All Known Implementing Classes:
StaticInstrument
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getRange()
getSound()
int
static Instrument
read
(PacketWrapper<?> wrapper) static Instrument
readDirect
(PacketWrapper<?> wrapper) static void
write
(PacketWrapper<?> wrapper, Instrument instrument) static void
writeDirect
(PacketWrapper<?> wrapper, Instrument instrument) Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Method Details
-
getSound
Sound getSound() -
getUseDuration
int getUseDuration() -
getRange
float getRange() -
read
-
readDirect
-
write
-
writeDirect
-