[Solved] [Minetest Game] Is it possible to farm cacti underground?

Post Reply
Zoig
Member
Posts: 21
Joined: Mon Feb 16, 2015 08:53
In-game: Zoig

[Solved] [Minetest Game] Is it possible to farm cacti underground?

by Zoig » Post

Is it possible to farm cacti underground?

I can confirm that cacti are growing in the desert under the sun for me. Just placing them on sand blocks works.

Underground I built a 6x6 space with sand blocks and cacti on top, lit by mese lamps on the walls. The lamps are 2 blocks higher than the cacti, one block to the side, so just adjacent to where the cacti would be growing. Lamps are spaced one block apart.

Nothing is growing though.

Do I need super glow glass blocks, or water, or?

User avatar
TenPlus1
Member
Posts: 4272
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Farming Redo [1.49] [farming]

by TenPlus1 » Post

@Zoig - Cactus aren't a part of the farming mod, but so long as they have enough light for the next cactus to grow (13 or more) it will grow anywhere, so maybe try meselamps :)

Zoig
Member
Posts: 21
Joined: Mon Feb 16, 2015 08:53
In-game: Zoig

Re: [Mod] Farming Redo [1.49] [farming]

by Zoig » Post

how can I check if there is enough light? So far it seems mese lamps and super glow glass are not making it grow. Trying out lamps from above now...

User avatar
Blockhead
Moderator
Posts: 2883
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: [Mod] Farming Redo [1.49] [farming]

by Blockhead » Post

Put the lamps on the ground level next to the cacti
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

Zoig
Member
Posts: 21
Joined: Mon Feb 16, 2015 08:53
In-game: Zoig

Re: [Mod] Farming Redo [1.49] [farming]

by Zoig » Post

Blockhead wrote:
Thu Feb 20, 2025 01:38
Put the lamps on the ground level next to the cacti
good idea, did not work however.

So cacti are a part of Minetest game, not this mod, right? Where could I look up their requirements for growing? I suppose there must be some configuration file, which specifies how much light and which environment they need for growing.

Edit: found it, it is inside functions.lua, under .minetest/games/minetest_game/mods/default/. It needs to be on a sand block, param2 needs to be less than 4, it has to have air (free space) above it and light must be at least 13 (it stops growing if light is less than 13, unsure how exactly this kind of check would handled if light is exactly 13).

User avatar
TenPlus1
Member
Posts: 4272
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Farming Redo [1.49] [farming]

by TenPlus1 » Post

@Zoig, for a cactus to grow on top of the current one the empty space it grows into must have light of 13 or over, so a meselamp beside it will work e.g. C = Cactus, M = Meselamp

M
MC
MC
MC

User avatar
Blockhead
Moderator
Posts: 2883
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: [Mod] Farming Redo [1.49] [farming]

by Blockhead » Post

Zoig wrote:
Thu Feb 20, 2025 07:59
Blockhead wrote:
Thu Feb 20, 2025 01:38
Put the lamps on the ground level next to the cacti
good idea, did not work however.

So cacti are a part of Minetest game, not this mod, right? Where could I look up their requirements for growing? I suppose there must be some configuration file, which specifies how much light and which environment they need for growing.

Edit: found it, it is inside functions.lua, under .minetest/games/minetest_game/mods/default/. It needs to be on a sand block, param2 needs to be less than 4, it has to have air (free space) above it and light must be at least 13 (it stops growing if light is less than 13, unsure how exactly this kind of check would handled if light is exactly 13).
Node light is an integer (whole number), so < 13 (less than thirteen) is identical to <= 12 (less than or equal to twelve).

Were you able to get the cacti to grow after reading the source code? You almost completely described cactus growth, apart from the maximum height of 4, so hopefully you were able to get there.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

Zoig
Member
Posts: 21
Joined: Mon Feb 16, 2015 08:53
In-game: Zoig

Re: [Minetest Game] Is it possible to farm cacti underground?

by Zoig » Post

Yes, you are right about the max height. My cactus is just one block high, hence why I want to grow it.

I filed an issue on GitHub, it did not work for me after all. Maybe its a bug, or unknown incompatibility with some mod?

Zoig
Member
Posts: 21
Joined: Mon Feb 16, 2015 08:53
In-game: Zoig

Re: [Mod] Farming Redo [1.49] [farming]

by Zoig » Post

TenPlus1 wrote:
Thu Feb 20, 2025 10:57
@Zoig, for a cactus to grow on top of the current one the empty space it grows into must have light of 13 or over, so a meselamp beside it will work e.g. C = Cactus, M = Meselamp

M
MC
MC
MC
Thank you, I will try that out

Edit: that was actually it, you need the light in the empty space where the cactus is going to grow into... It's very counter intuitive

AnastParris32
New member
Posts: 3
Joined: Wed Jan 21, 2026 08:59

Re: [Mod] Farming Redo [1.49] [farming]

by AnastParris32 » Post

Zoig wrote:
Thu Feb 20, 2025 07:59
Blockhead wrote:
Thu Feb 20, 2025 01:38
Put the lamps on the ground level next to the cacti
good idea, did not work however.

So cacti are a part of Minetest game, not this mod, right? Where could I look up their requirements for growing? I suppose there must be some configuration file, which specifies how much light and which environment they need for growing.

Edit: found it, it is inside functions.lua, under .minetest/games/minetest_game/mods/default/. It needs to be on a sand block, param2 needs to be less than 4, it has to have air (free space) above it and light must be at least 13 (it stops growing if light is less than 13, unsure how exactly this kind of check would handled if light is exactly 13).
A proposito, ho trovato una pagina interessante sui bonus di gioco, come "50 giri gratuiti". Che spiega come alcuni sistemi funzionino solo a determinate condizioni https://gamblizard.com/it/giri-gratis/100-giri-gratis/ ma qui è tutto chiaro e verificato. Provate a sollevare le lampade e controllate se c'è un blocco opaco accanto ai cactus!
Nice find. Yep, cacti are from default, not the mod. Light ≥13 and sand-only explain why it failed!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests