update the description text of the example

This commit is contained in:
Tnze
2023-02-12 01:26:59 +08:00
parent fce835984e
commit 69338ec9fe
2 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,11 @@
// Daze could join an offline-mode server as client. // Daze is a basic bot example that join a server as client with these features:
// Just standing there and do nothing. Automatically reborn after five seconds of death. // - Say "Hello, world" when game started.
// - Just standing there and do nothing.
// - Receive chat message and print it.
// - Receive player list and store it in memory.
// - Receive chunk data and load/unload them.
// - Receive inventory items and print them.
// - Automatically reborn after 5 seconds of death.
package main package main
import ( import (

View File

@ -1,5 +1,5 @@
// Daze could join an offline-mode server as client. // A minimal bot example that could join minecraft server as a client.
// Just standing there and do nothing. Automatically reborn after five seconds of death. // For a complete bot example, see examples/daze.
package main package main
import ( import (