class Packets::Play::C::UpdateHealth

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(health : Float32, food : Int32, food_saturation : Float32) #

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

[View source]

Instance Method Detail

def food : Int32 #

def food_saturation : Float32 #

def health : Float32 #