Перейти к содержимому
Mineforgian

Block Physics

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

Загрузки
2K
Подписчики
19
Обновлён
17 февраля 2021 г.
Лицензия
Custom

Опубликован 14 февраля 2021 г.

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.

Ченджлог

v1.3Релиз1.16.3, 1.16.4, 1.16.5 · 17 февраля 2021 г.
  • Fixed grass rendering issues
  • Fixed obsidian not floating
  • Fixed sandstone caves caving in too much
  • Cleaned up the code a lil'

Should be ready for wide-use.

I am not not responsible for any CTDs when someone tries to use this with a cave dimension mod lol.

v1.2Бета1.16, 1.16.5 · 15 февраля 2021 г.

Added the REINFORCEMENT update.

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.

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

Комментарии

Загружаем…