class Packets::Play::C::Explosion

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(x : Float32, y : Float32, z : Float32, radius : Float32, record_count : Int32, records : Array(ExplosionRecord), player_motion_x : Float32, player_motion_y : Float32, player_motion_z : Float32) #

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

[View source]

Instance Method Detail

def player_motion_x : Float32 #

def player_motion_y : Float32 #

def player_motion_z : Float32 #

def radius : Float32 #

def record_count : Int32 #

def records : Array(ExplosionRecord) #

def x : Float32 #

def y : Float32 #

def z : Float32 #