Minetest：一个开源的 Minecraft 替代品
Minecraft Minetest
早在 2009 年，Minecraft 就来到了这个世界。从那时起，它已经成为一种文化现象。在这段时间里，一些开发者发布了具有类似想法和机制的开源游戏。今天，我们将看看其中最大的一个：Minetest。


### 什么是 Minetest？


![](/data/attachment/album/202206/29/151524eem52oyatm2tz2dr.jpg)


[Minetest](https://www.minetest.net/)，简单地说，是一个基于<ruby> 体素 <rt>  voxel </rt></ruby>的沙盒游戏，与 Minecraft 非常相似。与 Minecraft 不同的是，Minetest 是用 C++ 编写的，并被设计成可以在大多数系统上原生运行。它也有一个非常大的地图区域。地图大小为 “62,000 × 62,000 × 62,000 块”，“你可以向下开采 31,000 块，或向上建造 31,000 块”。


有趣的是，Minetest 最初是以专有许可证发布的，但后来被重新授权为 GPL。此后，它又被重新授权为 LGPL。


Minetest 有几种模式。你可以建造并发挥创意，或者你可以尝试在各种元素中生存。你并不局限于这些模式。Minetest 有大量的 [额外内容](https://content.minetest.net/)，包括 <ruby> 模组 <rt>  mod </rt></ruby>、纹理包和在 Minetest 中建立的游戏。这主要是通过 Minetest 的 [模组 API](https://dev.minetest.net/Modding_Intro) 和 Lua 完成的。


![minetest packages](/data/attachment/album/202206/29/151241a166van14zzdrjav.jpg)


对于那些玩过 Minecraft 的人来说，你会发现 Minetest 中的体验非常相似。你可以挖掘资源，建造结构，并结合材料来制作工具。我在 Minetest 中没有注意到的一件事是怪物。我认为 Minetest 中没有任何生物，但话说回来，我只在创意模式中玩过。我还没有玩过生存模式。


Minetest 也被用于 [教育](https://www.minetest.net/education/)。例如，瑞士 CERN 的人用 Minetest 创造了一个游戏，以 [展示互联网是如何工作的](https://forum.minetest.net/viewtopic.php?t=22871) 以及它是如何被创造出来的。Minetest 还被用于 [教授](https://en.wikipedia.org/wiki/Minetest#Usage_in_education) 编程、地球科学以及微积分和三角学。


![minetes map1](/data/attachment/album/202206/29/151241tmofoqfohwlfjqwh.png)


### 如何安装 Minetest?


Minetest 几乎在每个系统上都可以使用。下面是一个命令列表，你可以用它来在一些最流行的 Linux 发行版中安装 Minetest。


#### Ubuntu 或者 Debian


如果你有一个基于 Ubuntu 或 Debian 的发行版，只要在终端输入这个命令：



```
sudo apt install mintest

```

#### Arch 或者 Manjaro


对于基于 Arch 的系统（如 Manjaro），使用：



```
sudo pacman -S minetest

```

#### Fedora


你可以从 Fedora 服务器中输入以下命令安装 Mintest：



```
sudo dnf install mintest

```

#### openSUSE


openSUSE 用户可以用这个命令安装 Minetest：



```
sudo zypper in mintest

```

#### FreeBSD


FreeBSD 用户很幸运。他们可以用这个命令安装 Mintest：



```
pkg install minetest minetest_game

```

#### Snap


要安装 Minetest 的 Snap 包，请在终端输入以下命令：



```
sudo snap install minetest

```

#### Flathub


要安装，请输入：



```
flatpak install flathub net.minetest.Minetest

```

你可以在 [这里](https://www.minetest.net/downloads/) 下载 Windows 的可移植执行文件。你也可以在 Android 上安装 Minetest，可以通过 [Google Play](https://play.google.com/store/apps/details?id=net.minetest.minetest&utm_source=website&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1) 或 [下载 APK](https://github.com/minetest/minetest/releases/download/5.5.0/app-armeabi-v7a-release.apk)。


### 总结


![minetest about](/data/attachment/album/202206/29/151242z74jr2xxtff1n6ty.jpg)


我已经在 Minetest 中花了几个小时在我的本地系统上进行构建和探索。它非常有趣。我还没来得及尝试任何额外的内容，因为我对我玩过的相对较少的游戏部分非常满意。我遇到的唯一麻烦是，由于某种原因，它在 Fedora 上运行缓慢。我可能存在一些配置上的错误。


如果你曾经认为 Minecraft 看起来很有趣，但不想花钱，那就去看看 Minetest。你会很高兴你这么做。


如果你玩过 Minetest，在评论中告诉我们你的体验如何。




---


via: <https://itsfoss.com/minetest/>


作者：[John Paul](https://itsfoss.com/author/john/) 选题：[lkxed](https://github.com/lkxed) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![Warp Terminal](/assets/images/warp-terminal.webp)


![Warp Terminal](/assets/images/warp-terminal.webp)

Back in 2009, Minecraft was introduced to the world. Since then, it has become a cultural phenomenon. In that time period, several developers have released open-source games with similar ideas and mechanics. Today, we will look at one of the biggest ones: Minetest.

## What is Minetest?

![minetest start](https://itsfoss.com/content/images/wordpress/2022/03/minetest-start-800x411.jpg)

[Minetest](https://www.minetest.net/), put simply, is a voxel based sandbox game, very similar to Minecraft. Unlike Minecraft, Minetest is written in C++ and is designed to run natively on most systems. It also has a very large map area. With a map size of “62,000 × 62,000 × 62,000 blocks”, “you can mine 31,000 blocks down, or build 31,000 blocks up”.

Interestingly, Minetest was originally released under a proprietary license but was later relicensed as GPL. It has since been relicensed to LGPL.

Minetest has a couple of modes. You can either build and be creative, or you can try to survive the elements. You aren’t limited to these modes. There is a wealth of [extra content available](https://content.minetest.net/) to Minetest in terms of mods, texture packs, and games built within Minetest. This is largely done using Minetest’s [modding API](https://dev.minetest.net/Modding_Intro) and Lua.

![minetest packages](https://itsfoss.com/content/images/wordpress/2022/03/minetest-packages-800x411.jpg)

For those who have played Minecraft, you will find a very similar experience in Minetest. You can dig for resources, build structures, and combine materials to make tools. The one thing that I have not noticed in Minetest is monsters. I don’t think there are any creatures in Minetest, but then again, I’ve on only played in creative mode. I haven’t played survival mode.

Minetest is also used in [education](https://www.minetest.net/education/). For example, the people at CERN in Switzerland created a game with Minetest to [show how the Internet works](https://forum.minetest.net/viewtopic.php?t=22871) and how it was created. Minetest has also been [used to teach](https://en.wikipedia.org/wiki/Minetest#Usage_in_education) programming, earth sciences, and calculus and trigonometry.

![minetes map1](https://itsfoss.com/content/images/wordpress/2022/03/minetes-map1-800x411.png)

## How to Install Minetest?

Minetest is available on almost every system. Here is a list of commands that you can use to install Minetest in some of the most popular Linux distros.

### Ubuntu or Debian

If you have a distro based on Ubuntu or Debian, just enter this command in the terminal:

```
sudo add-apt-repository ppa:minetestdevs/stable
sudo apt update
sudo apt install minetest
```


### Arch or Manjaro

For systems based on Arch (such as Manjaro), use:

`sudo pacman -S minetest`


### Fedora

You can install Mintest from the Fedora servers by entering:

`sudo dnf install minetest`


### openSUSE

openSUSE users can install Minetest using this command:

`sudo zypper in mintest`


### FreeBSD

FreeBSD users are in luck. They can install Mintest using this command:

`pkg install minetest minetest_game`


![minetest map2](https://itsfoss.com/content/images/wordpress/2022/03/minetest-map2-800x413.png)

### Flathub

To install, enter`:`


`flatpak install flathub net.minetest.Minetest`


You can download a portable executable for Windows [here](https://www.minetest.net/downloads/). You can also install Minetest on Android, either by going to [Google Play](https://play.google.com/store/apps/details?id=net.minetest.minetest&utm_source=website&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1) or [download the APK](https://github.com/minetest/minetest/releases/download/5.5.0/app-armeabi-v7a-release.apk).

## Final Thoughts

![minetest about](https://itsfoss.com/content/images/wordpress/2022/03/minetest-about-800x407.jpg)

I’ve spent hours in Minetest building and exploring on my local system. It’s great fun. I haven’t gotten around to trying out any of the extra content because I’ve been more than happy with the relatively small portion of the game I’ve played. The only trouble that I’ve encountered was that it ran slow on Fedora, for some reason. I might have had something configured wrong.

If you ever thought that Minecraft looked interesting, but didn’t want to spend the money, check out Minetest. You’ll be glad that you did. Otherwise, [installing Minecraft on Ubuntu](https://itsfoss.com/install-minecraft-ubuntu/) and other Linux is not that difficult either.

If you have played Minetest, tell us how your experience was in the comments.