跳到正文

Block Physics

作者:stormdirus2

A block physics system not unlike Enviromine's or the functionality of scaffolding blocks.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

FOR 1.18.2 AND BEYOND, Block Physics IS SUPERSEDED BY DISRUPTION:

Modrinth (Awaiting aproval): https://modrinth.com/mod/disruption

Github: https://github.com/stormdirus2/disruption

A block physics system not unlike Enviromine’s or the functionality of scaffolding blocks.

Blocks have a max reach distance based on their blast resistance. They can only reach out so far from a ‘support’ (a column of block(s) that are connected to a highly-surrounded block or a high blast resistance block)

Blocks that are not near a support will fall when ‘updated’.

#
There is also a reinforcement mechanic, its easier to learn this firsthand than to learn it from ye old bad explainer.

But basically:

As a block is searching along their 8 vectors on the x-z plane, it will upgrade it’s reach to a block of higher reach as long as that block is within it’s own reach, specifically in that direction.

This makes skylights easier and rewards the player for making shapes found in real architecture, like frames for glass.

#

Some blocks also search for supports upwards rather than downwards.

The main reasoning for this is to prevent all of the nether crashing down, as well as the end islands.

Blocks with the [sticky_blocks] tag will have this behavior, in this tag there are also fences, walls, chains, iron bars, and GlassSoundGroup blocks.

#
Blocks with the [protected_blocks] tag will have a minimum of 3 block extension capability. This is to prevent trees from getting pruned completely from a single block update.

#

Additionally blocks that have a slipperiness value higher than 0.6, or that are in the [floats] tag will float on liquids (such as lava or water).

#

Confused on when/where the physics system updates the blocks?
It checks the neighbors of a position during these events:

  • Player breaks a block.
  • Player places a block.
  • Fire destroys a block.
  • Explosion destroys a block.

常见问题

Block Physics 支持哪些 Minecraft 版本?

Block Physics 支持 Minecraft Java 版 1.16–1.16.5,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Block Physics 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

stormdirus2 的其他作品

查看全部 →