From 69338ec9fe306ba86db8d54ce67f6faa135fcbf0 Mon Sep 17 00:00:00 2001 From: Tnze Date: Sun, 12 Feb 2023 01:26:59 +0800 Subject: [PATCH] update the description text of the example --- examples/daze/daze.go | 10 ++++++++-- examples/minimal/minimal.go | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/examples/daze/daze.go b/examples/daze/daze.go index 8fef07b..f33b330 100644 --- a/examples/daze/daze.go +++ b/examples/daze/daze.go @@ -1,5 +1,11 @@ -// Daze could join an offline-mode server as client. -// Just standing there and do nothing. Automatically reborn after five seconds of death. +// Daze is a basic bot example that join a server as client with these features: +// - 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 import ( diff --git a/examples/minimal/minimal.go b/examples/minimal/minimal.go index 2ab040f..1c2385c 100644 --- a/examples/minimal/minimal.go +++ b/examples/minimal/minimal.go @@ -1,5 +1,5 @@ -// Daze could join an offline-mode server as client. -// Just standing there and do nothing. Automatically reborn after five seconds of death. +// A minimal bot example that could join minecraft server as a client. +// For a complete bot example, see examples/daze. package main import (