1
0
Personal fork of Cuberite
Go to file
Alexander Harkness cdc452916e
Replace buckets to the selected hotbar slot, rather than the first available. (#4580)
* Replace buckets to the selected hotbar slot, rather than the first available.

Replicates vanilla behaviour, as well as being more logical.

* Refactor cInventory::AddItem. Behaviour is now documented

* Add new cInventory::ReplaceOneEquippedItem and ::SetEquippedItem methods

* Return empty potion to the same slot after drinking

* Replace buckets correctly in other situations, not simply water and lava

Uses the new ReplaceOneEquippedItem method

* Correct collecting water from source block with bottle

* Add cPlayer::ReplaceOneEquippedItemTossRest method

* Handle stacked filled buckets (in theory)

Use new cPlayer::ReplaceOneEquippedItemTossRest method
2020-04-02 12:42:15 +00:00
.circleci
.github Added server log to GitHub issue template 2020-02-10 10:06:43 +01:00
android Strip debug symbols from Android builds 2020-01-16 16:28:34 +01:00
dev-docs dev-docs/Plugin API.md: fix url 2020-01-12 11:31:01 +00:00
lib Updated Lua submodules 2019-12-30 15:20:39 +01:00
Server Replace buckets to the selected hotbar slot, rather than the first available. (#4580) 2020-04-02 12:42:15 +00:00
src Replace buckets to the selected hotbar slot, rather than the first available. (#4580) 2020-04-02 12:42:15 +00:00
tests BlockTypePalette: Improved loading speed in MSVC Debug builds. 2020-02-24 09:37:40 +01:00
Tools Added an UpgradeBlockTypePalette check script. 2020-01-13 22:43:01 +01:00
.clang-tidy
.editorconfig
.gitattributes
.gitignore Fixed unloading of chunks that contain player entities (#4508) 2020-03-18 17:17:59 +00:00
.gitmodules Add ProtocolBlockTypePalette (#4391) 2019-09-22 22:57:54 +02:00
.travis.yml CI: Install ccache on macos (#4489) 2020-03-27 11:20:30 +01:00
app.yml
appveyor.yml Skip release builds outside master (#4447) 2019-12-31 09:40:45 +02:00
BACKERS FIx formatting issue in Backers file 2020-03-20 00:56:49 +02:00
CheckLua.cmake
clang-tidy.sh
cloc-exclude.txt
CMakeLists.txt Updated LibEvent to release 2.1.11-stable. (#4383) 2019-09-04 22:34:54 +01:00
compile.sh Show correct paths in compile script 2020-02-18 16:04:43 +00:00
COMPILING.md
CONTRIBUTING.md Clarify spaces vs unary operator 2019-09-17 17:33:11 +01:00
CONTRIBUTORS Fix alpha-sorting 2020-03-28 12:20:55 +00:00
CoverityModel.cpp
Doxyfile
easyinstall.sh Replace downloads links with new redirect server links 2020-03-24 21:23:03 +00:00
GETTING-STARTED.md Update GETTING-STARTED.md (#4581) 2020-03-30 12:39:42 +00:00
jenkinsbuild.sh Oops, that wasn't supposed to be negated 2020-04-01 20:48:45 +01:00
LICENSE Update copyright year 2020-02-26 22:27:09 +02:00
README.md Removed old buildserver from README 2020-01-04 14:21:58 +00:00
SetFlags.cmake Support clang 10.0 (appleclang) and higher (#4302) 2018-10-15 17:56:23 +01:00
stats.cmd
TESTING.md
travisbuild.sh Create build script for Jenkins (and use it) (#4473) 2020-02-24 11:28:24 +00:00
uploadCoverage.sh

Cuberite

Build Status Circle CI Build Status AppVeyor Build Status

Cuberite is a Minecraft-compatible multiplayer game server that is written in C++ and designed to be efficient with memory and CPU, as well as having a flexible Lua Plugin API. Cuberite is compatible with the Java Edition Minecraft client.

Cuberite runs on Windows, *nix and Android operating systems. This includes Android phones and tablets as well as Raspberry Pis.

Currently we support Release 1.8 - 1.12.2 Minecraft protocol versions.

Subscribe to the newsletter for important updates and project news.

Installation

There are several ways to obtain Cuberite.

Binaries

  • The easiest method is downloading for Windows or Linux from the website.
  • You can use the EasyInstall script for Linux and macOS, which automatically downloads the correct binary. The script is described below.

The EasyInstall script

This script will download the correct binary from the project site.

curl -sSfL https://download.cuberite.org | sh

Compiling

  • You can compile automatically for Linux, macOS and FreeBSD with the compile.sh script. The script is described below.
  • You can also compile manually. See COMPILING.md.

Compiling may provide better performance (1.5-3x as fast) and it supports more operating systems.

The compile.sh script

This script downloads the source code and compiles it. The script is smart enough to notify you of missing dependencies and instructing you on how to install them. The script doesn't work for Windows.

Using curl:

sh -c "$(curl -sSfL -o - https://compile.cuberite.org)"

Or using wget:

sh -c "$(wget -O - https://compile.cuberite.org)"

Hosted services

  • Hosted Cuberite is available via Gamocosm.

Contributing

Cuberite is licensed under the Apache License V2, and we welcome anybody to fork and submit a Pull Request back with their changes, and if you want to join as a permanent member we can add you to the team.

Cuberite is developed in C++ and Lua. To contribute code, please check out GETTING-STARTED.md and CONTRIBUTING.md for more details.

Plugins are written in Lua. You can contribute by developing plugins and submitting them to the plugin repository or the forum. Please check out our plugin introduction guide for more info.

If you are not a programmer, you can help by testing Cuberite and reporting bugs. See TESTING.md for details.

You can also help with documentation by contributing to the User's Manual.

Other Stuff

For other stuff, check out the homepage, the Users' Manual, the forums, and the Plugin API.

Support Us on Liberapay or Bountysource