Redefinitions for various Minetest things (only minor changes)
Go to file
𝘋𝘪𝘳𝘬 ce91dd18ed
relicense to MIT License
2023-07-16 21:34:37 +02:00
redefinitions implement use_texture_alpha = 'clip' 2022-01-07 21:48:38 +01:00
screenshots implement showing hidden stairs and slabs 2021-12-30 23:37:50 +01:00
sources remove relicensed “rotation API” 2021-02-07 21:56:14 +01:00
LICENSE.txt relicense to MIT License 2023-07-16 21:34:37 +02:00
README.md implement showing hidden stairs and slabs 2021-12-30 23:37:50 +01:00
init.lua use better fitting loglevel 2023-06-16 03:43:05 +02:00
mod.conf add 5.6 human readable title 2022-08-12 08:31:56 +02:00
screenshot.png add screenshot 2018-01-03 17:36:45 +01:00
settingtypes.txt document proper rotation 2021-02-07 21:55:12 +01:00

README.md

Changes smaller things that are issues for either Minetest, Minetest Game, and some well-known mods that are technically fixable but wont be fixed due to several non-technical reasons.

Configuration

All configuration options are set to values intended by the redefinitions. For changing or disabling the values set the corresponding options to the preferred values or to the value that disables the redefinition.

The configurations can be set in the global minetest.conf file as well as in a world-specific configuration file located at ./worlds/worldname/_redef.conf. Global settings overwrite the given defaults and world-specific settings overwrite the global settings and defaults.

3D Ladders

Result

  • setting: redef_3d_ladders = true
  • disable: set to false
  • fixes: mtg2423
  • default: no 3D ladders

Redefining the 2D ladders so that they use a 3D model. No new textures are needed since he normal textures are used. Only works properly if using the 16x16 default textures or texture packs that use the same size and shape for the ladders.

Maximum Stack Size

Result

It changes the maximum stack size of all registered things whose stack size is 99 to the given redef_stack_max value. Unfortunately the maximum stack size of 99 is hardcoded in some places and cant be changed using a mod.

Grass Box Height

Result

  • setting: redef_grass_box_height = 2
  • disable: set to 0
  • fixes: mtg1980
  • default: various heights for grass selection boxes

Make grass selection box x/16 high for easy building or punching through regardless of actual height of the box.

Aligned Textures

Result

  • setting: redef_aligned_textures = true
  • disable: set to false
  • fixes: mtg2287, mtg1931, mt5222
  • default: textures not aligned for most relevant nodes

This fixes the texture orientation of stairs and slabs regardless of how they were defined to achieve a clean look. This redefinition also world-alignes moreblocks nodes that are nodeboxes (world-alignment of textures only works on nodeboxes).

Proper Rotation

Result

  • setting: redef_proper_rotation = true
  • disable: set to false
  • fixes: moreblocks138 for example
  • default: slabs and stairs do not align properly on placement

Moreblocks re-implements all stairs and slabs for unknown reason and thus breaking their placement and auto-rotation. By enabling this, the original functionality is replicated. This also addresses weird placement of bakedclay mods objects.

Show Steps (slabs and stairs)

Result

  • setting: redef_show_steps = true
  • disable: set to false
  • fixes: moreblocks141 for example
  • default: slabs and stairs are hidden in creative inventory

This mainly exists to prevent crashing the server when setting moreblocks.stairsplus_in_creative_inventory = true (see example issue). But what this does in general is removing the not_in_creative_inventory group from all nodes that have stair = 1 or slab = 1 group set. In result all stairs and slabs are shown in creative inventory.