class Shatter::Packet::Play::SpawnEntity

Included Modules

Defined in:

shatter/packet/play/entity_packets.cr

Constructors

Instance Method Summary

Constructor methods inherited from module Shatter::Packet::Handler

new(pkt : IO, con : Shatter::Connection) new

Constructor Detail

def self.new(pkt : IO, con : Shatter::Connection) #

[View source]
def self.new(pull : JSON::PullParser) #

Instance Method Detail

def data : Int32 #

[View source]
def describe(con : Shatter::Connection, io : IO = STDERR) #

[View source]
def eid : VarInt #

[View source]
def has_describe? : Bool #

[View source]
def packet_name : String #

[View source]
def pitch : Angle #

[View source]
def run(con) #

[View source]
def type : EntityType #

[View source]
def uuid : UUID #

[View source]
def vx : Velocity #

[View source]
def vy : Velocity #

[View source]
def vz : Velocity #

[View source]
def x : Float64 #

[View source]
def y : Float64 #

[View source]
def yaw : Angle #

[View source]
def z : Float64 #

[View source]