class Packets::Play::C::SoundEffect
- Packets::Play::C::SoundEffect
- RawPacket
- Reference
- Object
Defined in:
packets/packets.crConstructors
- .new(sound_name : String, effect_pos_x : Int32, effect_pos_y : Int32, effect_pos_z : Int32, volume : Float32, pitch : UInt8)
- .new(packet : RawPacket)
Instance Method Summary
- #effect_pos_x : Int32
- #effect_pos_y : Int32
- #effect_pos_z : Int32
- #pitch : UInt8
- #sound_name : String
- #volume : Float32
Instance methods inherited from class RawPacket
data : Bytes
data,
id : Int32
id,
slice : Bytes
slice
Constructor methods inherited from class RawPacket
new(id : Int32, data : Bytes)
new
Constructor Detail
def self.new(sound_name : String, effect_pos_x : Int32, effect_pos_y : Int32, effect_pos_z : Int32, volume : Float32, pitch : UInt8)
#