minecraft

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SupportedVersions = []Version{
	&paperMcVersion{"1.17.1", 386},
	&paperMcVersion{"1.16.5", 790},
}

SupportedVersions slice of all the supported Minecraft versions. To be supported, two things must be true:

  1. We must have a JAR build of `bukkit-runtime` for that version
  2. There must be a PaperMC build in that Minecraft version

Functions

This section is empty.

Types

type Version

type Version interface {
	String() string
	ApiVersion() string
	ServerJarType() string
	ServerJarUrl() string
}

func FindVersion

func FindVersion(version string) Version

FindVersion finds a supported version with the given version string

func LatestVersion

func LatestVersion() Version

LatestVersion gets the latest Minecraft version available

Jump to

Keyboard shortcuts

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