This commit, fixes this strange feature of the empty bucket: the right mouse button (or a configured key), is used for filling and emptying the bucket, instead of left click to fill, right click to empty, which is harder to use than before this commit. This allows mod makers to create nodes or entities that require on_punch while holding a bucket to interact with them, regardless of whether the bucket is full or not, because of this interaction, an empty bucket would be unable to be filled by a cow, or unable to fill a machine with a liquid due to the differences of on_use and on_place. on_use() blocks on_punch() from activating, and on_place() blocks on_rightclick() from activating.
The main game for the Minetest game engine [minetest_game] ========================================================== To use this game with Minetest, insert this repository as /games/minetest_game in the Minetest Engine. The Minetest Engine can be found in: https://github.com/minetest/minetest/ Compatibility -------------- The minetest_game github master HEAD is generally compatible with the github master HEAD of minetest. Additionally, when the minetest engine is tagged to be a certain version (eg. 0.4.10), minetest_game is tagged with the version too. When stable releases are made, minetest_game is packaged and made available in http://minetest.net/download and in case the repository has grown too much, it may be reset. In that sense, this is not a "real" git repository. (Package maintainers please note!) License of source code ---------------------- Copyright (C) 2010-2012 celeron55, Perttu Ahola <celeron55@gmail.com> See README.txt in each mod directory for information about other authors. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. License of media (textures and sounds) -------------------------------------- Copyright (C) 2010-2012 celeron55, Perttu Ahola <celeron55@gmail.com> See README.txt in each mod directory for information about other authors. Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) http://creativecommons.org/licenses/by-sa/3.0/ License of menu/header.png Copyright (C) 2013 BlockMen CC BY-3.0
Description
Languages
Lua
99.3%
TypeScript
0.7%