class Packets::Play::C::SoundEffect

Defined in:

packets/packets.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(packet : RawPacket) #

[View source]

Instance Method Detail

def effect_pos_x : Int32 #

def effect_pos_y : Int32 #

def effect_pos_z : Int32 #

def pitch : UInt8 #

def sound_name : String #

def volume : Float32 #