enum

Shatter::Packet::Play::Equipment::InSlot

Inherits Enum < Comparable < Value < Object

Constants

MainHand = 0
OffHand = 1
Boots = 2
Leggings = 3
Chestplate = 4
Helmet = 5

Instance methods

boots?

Returns true if this enum value equals Boots

Source
chestplate?

Returns true if this enum value equals Chestplate

Source
helmet?

Returns true if this enum value equals Helmet

Source
leggings?

Returns true if this enum value equals Leggings

Source
main_hand?

Returns true if this enum value equals MainHand

Source
off_hand?

Returns true if this enum value equals OffHand

Source