class Packets::Play::C::Explosion
- Packets::Play::C::Explosion
- RawPacket
- Reference
- Object
Defined in:
packets/packets.crConstructors
- .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)
- .new(packet : RawPacket)
Instance Method Summary
- #player_motion_x : Float32
- #player_motion_y : Float32
- #player_motion_z : Float32
- #radius : Float32
- #record_count : Int32
- #records : Array(ExplosionRecord)
- #x : Float32
- #y : Float32
- #z : 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(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)
#