entity

package
v1.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entity

type Entity struct {
	EntityID int //实体ID
}

Entity is the entity of minecraft

type Slot

type Slot struct {
	Present bool
	ItemID  int32
	Count   int8
	NBT     interface{}
}

The Slot data structure is how Minecraft represents an item and its associated data in the Minecraft Protocol

func (*Slot) Decode

func (s *Slot) Decode(r pk.DecodeReader) error

Decode implement packet.FieldDecoder interface

func (Slot) String

func (s Slot) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL