Coder Social home page Coder Social logo

go-mc's Introduction

Go-MC

Version Protocol GoDoc Go Report Card Build Status

There's some library in Go support you to create your Minecraft client or server.
这是一些Golang库,用于帮助你编写自己的Minecraft客户端或服务器,

  • Chat
  • NBT
  • Yggdrasil
  • Realms Server
  • RCON protocol
  • Saves decoding /encoding
  • Minecraft network protocol
  • Simple MC robot lib

bot:

  • Swing arm
  • Get inventory
  • Pick item
  • Drop item
  • Swap item in hands
  • Use item
  • Use entity
  • Attack entity
  • Use/Place block
  • Mine block
  • Custom packets
  • Record entities

由于仍在开发中,部分API在未来版本中可能会变动

Some examples are at /cmd folder.
有一些例子在cmd目录下

1.13.2 version is at gomcbot.

Getting start

After you install golang tools:
To get latest version: go get github.com/Tnze/go-mc@master
To get old versions (eg. 1.14.3): go get github.com/Tnze/[email protected]

  • Run go run github.com/Tnze/go-mc/cmd/mcping localhost to ping and list the localhost mc server.
  • Run go run github.com/Tnze/go-mc/cmd/daze to join local server at localhost:25565 as Steve on offline mode.

See /bot folder to get more information about how to create your own robot.

go-mc's People

Contributors

apt-get-nat avatar bitbanger avatar mammut53 avatar mcfx avatar nugget avatar sunbread avatar tnze avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.