class Rosegold::Clientbound::EntityEffect
- Rosegold::Clientbound::EntityEffect
- Rosegold::Clientbound::Packet
- Rosegold::Packet
- Rosegold::Event
- Reference
- Object
Defined in:
rosegold/packets/clientbound/entity_effect.crConstructors
Class Method Summary
Instance Method Summary
- #amplifier : UInt8
- #amplifier=(amplifier : UInt8)
- #callback(client)
- #duration : UInt32
- #duration=(duration : UInt32)
- #effect_id : UInt32
- #effect_id=(effect_id : UInt32)
- #entity_id : UInt64
- #entity_id=(entity_id : UInt64)
- #flags : UInt8
- #flags=(flags : UInt8)
Class methods inherited from class Rosegold::Clientbound::Packet
new_raw(bytes)
new_raw,
state
state
Instance methods inherited from class Rosegold::Packet
callback(client_or_server)
callback,
to_s(io)
to_s,
write : Bytes
write
Constructor Detail
def self.new(entity_id : UInt64, effect_id : UInt32, amplifier : UInt8, duration : UInt32, flags : UInt8)
#