WIP getting jumping to work

This commit is contained in:
Tom
2020-09-21 19:11:52 -07:00
parent bb278ddd1d
commit fcdf4bda87
6 changed files with 372 additions and 163 deletions

View File

@ -4,6 +4,7 @@ import (
"sync"
"time"
"github.com/Tnze/go-mc/bot/path"
"github.com/Tnze/go-mc/bot/phy"
"github.com/Tnze/go-mc/bot/world"
"github.com/Tnze/go-mc/bot/world/entity"
@ -24,7 +25,7 @@ type Client struct {
settings Settings
Wd world.World //the map data
Inputs phy.Inputs
Inputs path.Inputs
Physics phy.State
lastPosTx time.Time
justTeleported bool