[Mod] Minor Redefinitions [redef]

Post Reply
User avatar
Linuxdirk
Member
Posts: 2541
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

[Mod] Minor Redefinitions [redef]

by Linuxdirk » Post

The Minor Redefinitions mod redefines (“fixes”) smaller things that are issues for either Minetest or Minetest Game that are technically fixable but won’t be fixed due to several non-technical reasons.

Redefinitions

Currently there are four redefinitions available. All of them are enabled by default.

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.

Image

Maximum Stack Size 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 can’t be changed using a mod.

Image

Grass Box Height Make grass selection box x/16 high for easy building or punching through regardless of actual height of the box. By default 2/16 is used.

Image

Aligned textures 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).

Image

Feel free to suggest more minor things over at GitLab!

Mod Meta

License: GPLv3 for code, CC-BY-SA for media
Dependencies: default
Download latest version: redef-master.zip
Source/issues/etc.: GitLab
Content DB: Minor Redefinitions

User avatar
ElCeejo
Member
Posts: 66
Joined: Thu Feb 28, 2019 23:29
In-game: ElCeejo
Location: The darkest corner in your house

Re: [Mod] Minor Redefinitions [redef]

by ElCeejo » Post

Cool Idea, I'll have to try this out.

User avatar
pampogokiraly
Member
Posts: 203
Joined: Wed Jan 08, 2020 22:21
In-game: i_love_mesecon

Re: [Mod] Minor Redefinitions [redef]

by pampogokiraly » Post

+10
Just what i wanted! Really nice mod.
My mod (a bit old) request: Better enchant. My second mod: Old Broken Castle nodes. Search for aab01 to find my mods!

User avatar
Lone_Wolf
Member
Posts: 2343
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
Location: Not there, THERE!

Re: [Mod] Minor Redefinitions [redef]

by Lone_Wolf » Post

This looks neat. The grass part isn't too clear though, does it reduce the height of the selectionbox?

User avatar
Linuxdirk
Member
Posts: 2541
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Minor Redefinitions [redef]

by Linuxdirk » Post

Lone_Wolf wrote:This looks neat. The grass part isn't too clear though, does it reduce the height of the selectionbox?
Yes, exactly. By default it’s like in the screenshot on the left. When enabled it is reduced to x/16 if it is above x/16. By default x is 2. So all Grass types where the selection box is higher than 2 it gets reduced to 2 which allows punching through the grass. So for removing grass you need to punch its bottom.

I updated the screenshot to make it clearer.

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] Minor Redefinitions [redef]

by texmex » Post

Coherence. Nice.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

Sporax
Member
Posts: 146
Joined: Mon Jul 11, 2016 16:33
GitHub: Sporax
IRC: Sporax
In-game: Sporax
Location: France

Re: [Mod] Minor Redefinitions [redef]

by Sporax » Post

Nice usefull mod!
I've sent an issue about adding 3D system (like ladders) for rails!

User avatar
rubenwardy
Moderator
Posts: 6158
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: [Mod] Minor Redefinitions [redef]

by rubenwardy » Post


User avatar
Linuxdirk
Member
Posts: 2541
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Minor Redefinitions [redef]

by Linuxdirk » Post

rubenwardy wrote:I've added this mod to the modpack I use when playing Minetest
Yaay :) Glad you like it!

User avatar
runs
Member
Posts: 1640
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [Mod] Minor Redefinitions [redef]

by runs » Post

Why these fixes not already included in Minetest Game yet???
Day 42 of the quarantine

User avatar
pampogokiraly
Member
Posts: 203
Joined: Wed Jan 08, 2020 22:21
In-game: i_love_mesecon

Re: [Mod] Minor Redefinitions [redef]

by pampogokiraly » Post

runs wrote:Why these fixes not already included in Minetest Game yet???
Good question :D
My mod (a bit old) request: Better enchant. My second mod: Old Broken Castle nodes. Search for aab01 to find my mods!

User avatar
Linuxdirk
Member
Posts: 2541
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Minor Redefinitions [redef]

by Linuxdirk » Post

runs wrote:Why these fixes not already included in Minetest Game yet???
In the readme on GitLab I linked corresponding issues, PRs, and forum posts. Just go and see it for yourself! My personal non-judgemental conclusion is that those things are technically fixable but are not fixed due to several non-technical reasons. This is why this statement is part of the mod’s slogan :)

User avatar
Linuxdirk
Member
Posts: 2541
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Minor Redefinitions [redef]

by Linuxdirk » Post

Just a quick note: The mod is fully compatible with Minetest 5.2.x. An version limits update on CDB will be pushed soon.

Post Reply

Who is online

Users browsing this forum: firefox and 2 guests