[Mod] X Farming [x_farming]

User avatar
SaKeL
Member
Posts: 742
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

[Mod] X Farming [x_farming]

by SaKeL » Post

Farming Addons [x_farming]

Extends Minetest default farming mod with new plants, crops and ice fishing using only minetest_game API (except couple of functions for e.g. block farming, ice fishing).

Video - Crops: https://youtu.be/1MhusGD1-w8
Video - Ice Fishing: https://youtu.be/5laRsBkpCQY

Image
Image
Image

Adds:

* Bonemeal
* Empty Soup Bowl
* Fish Stew
* Beetroot
* Carrot
* Coffee
* Corn
* Melon
* Obsidian Wart
* Potato
* Pumpkin
* Cocoa
* Kiwi Tree
* Large Cactus with Fruit
* Strawberry
* Pine nut tree
* Stevia
* Soybean
* Salt
* Ice Fishing
* Crates and Bags
* and more..

Features

- adds food source to almost every biome, allows traveling the world without relying on apples only
- block farming, instead of food items, blocks can be harvested/crafted and used for building or decoration
- adds ice fishing - farming fish based on biomes and amount of ice around
- farming on different block than dirt, e.g. obsidian, jungle tree..
- farming in dark, no need for light for farming, e.g. obsidian wart
- vertical farming, e.g. farming cocoa on jungle tree trunk
- new trees and wood blocks allows for tree farms
- food items can heal or poison you
- some food items can be placed and used as decoration
- some food items can grow back on trees/cactus after harvesting
- using combination of snow block and pumpkin can spawn snowman mob
- mod is lightweight and optimized for servers
- plants and trees are spawning as decoration troughout the world (see biomes below)
- stairs and slabs for all new blocks
- leafdecay with falling fruit after tree trunk is harvested
- supports hbhunger mod
- crates and bags for storage (holds 1 stack)
- composter

Composter

Right-click/place action with most plants, leaves, harvest, grass... will create/add compost. Once full another right-click/place action will give back bonemeal.
Each item has different chance for creating compost. In general items harder to obtain have higher chance of creating compost.
Additionally other mods can add group {compost = 50} to the items, where the number is chance of creating compost.

Crates and Bags

Crafting crate/bag will give you empty crate/bag and can be used as a storage for raw farming items. Storage holds up to 1 stack making it work as "place-able" stacks. Crate/bag can be dug and carried while remembering the contents of the crate/bag. After placing the crate/bag you can access the contents again with right click (or the key by placing the node). List of items what can be placed in crates: melon, pumpkin_block, coffee, corn, obsidian_wart, potato, beetroot, carrot, cocoa_bean, kiwi_fruit, cactus_fruit_item, strawberry, pine_nut, stevia, soybean, fish, wheat, cotton. List of items what can be placed in bags: salt.

Ice Fishing

Ice fish for getting various kinds of fish, treasures and junk. What type of fish you get depends on the biome where you'r fishing and how many ice blocks are directly around your fishing equipment (there has to be space above the ice and nothing can obstruct the ice otherwise it will not count). For planting you fishing equipment you need to first drill a hole in ice using Ice Auger. Ice fishing equipment can be crafted, occasionally dropped out from digging your ice fishing equipment and can also spawn in cold biomes.

All fish textures created by SaKeL (CC-BY-SA-4.0)

Biomes

**Grassland**

- Melon
- Carrot
- Soybean

**Coniferous Forest**

- Strawberry
- Pine Nut Tree

**Desert**

- Large Cactus with Fruit (dragon fruit)

**Savanna**

- Kiwi Tree
- Coffee
- Stevia

**Rainforest**

- Cocoa

**Underground**

- Obsidian Wart (below -1000)

**Sandstone desert**

- Corn
- Pumpkin

**Cold desert**

- Potato
- Beetroot

**Taiga**

- Pine Nut Tree

**Rainforest Swamp**

- Salt
- Swamp Darter
- Swamp Frog
- Sturgeon
- Sunfish
- Swordfish

**Savanna Shore**

- Salt
- Angelfish
- Lingcod
- Lukewarm Ocean Hermit Crab
- Magma Slimefish
- Manta Ray

**Icesheet Ocean**

- Angler
- Frozen Boneminnow
- Frozen Ocean Hermit Crab
- Paddlefish
- Pearl Isopod

**Taiga Ocean**

- Armored Catfish
- Gar
- Giant Moray
- Perch
- Piglish

**Desert Ocean**

- Arrow Squid
- Desert Frog
- Desert Sunfish
- Piranha
- Prismfish
- Pumpkinseed

**Tundra Ocean**

- Barracuda
- Flier
- Floral Faefish
- Flounder
- Fourhorn Sculpin

**Snowy Grassland Ocean**

- Grass Pickerel
- Guppy
- Hagfish
- Rainbowfish
- Red Snapper

**Coniferous Forest Ocean**

- Bream
- Redbreast Sunfish
- Rockfish
- Rohu
- Rosefish

**Grassland Ocean**

- Conger
- Sablefish
- Sardine
- Sawfish
- Skate
- Skullfin

**Savanna Ocean**

- Chorus Snail
- White Bullhead
- Whitefish
- Wolffish
- Woodskip

**Cold Desert Ocean**

- Chub
- Cold Ocean Hermit Crab
- Oscar
- Leerfish

**Sandstone Desert Ocean**

- Clam
- Skykoi
- Smallmouth Bass
- Sterlet

**Deciduous Forest Ocean**

- Crayfish
- Damselfish
- Danios
- Vampire Squid
- Walleye
- Warm Ocean Hermit Crab

**Rainforest Ocean**

- Burbot
- Koi
- Lamprey
- Largemouth Bass
- Lava Eel
- Leech

**Icesheet**

- Dwarf Caiman
- Eel
- Electric Eel
- Endray
- Tench

**Tundra Beach**

- Carp
- Catfish
- Catla
- Ocean Hermit Crab
- Octopus

**Deciduous Forest Shore**

- Congo Tiger Fish
- Convict Cichlid
- Minnow
- Mud Flounder
- Neon Tetra

Seeds can be found also in dungeon chests.

Dependencies

- default
- farming

Optional Dependencies

- hbhunger
- flowers
- mobs_animal
- mobs_npc
- stairs
- wool
- dye
- vessels (recipes, if not present then x_farming will load its own vessels needed for recipe)
- bucket (recipes)

License

Code
GNU Lesser General Public License v2.1 or later (see included LICENSE file)

Image

Image

Image
Attachments
screenshot.5.png
screenshot.5.png (568.39 KiB) Viewed 3856 times
screenshot.4.png
screenshot.4.png (612.14 KiB) Viewed 4111 times
screenshot.png
screenshot.png (825.76 KiB) Viewed 5450 times
Last edited by SaKeL on Mon Nov 21, 2022 15:45, edited 13 times in total.

cuthbertdoublebarrel
Member
Posts: 348
Joined: Tue Apr 14, 2020 16:03
GitHub: cuthbert

Re: [Mod] X Farming [x_farming]

by cuthbertdoublebarrel » Post

this looks very interesting from the list expecially the fishing .
gave it whirl with 1-2 of the mtg games and kept crashing due to ice sound giving a nil value . no error when i tried using it with MTG base with just your mod loaded though . but not had time to compile it with just MTG and other mods to find out what is triggering the crash.
Project BrutalTest...hide your Petz

User avatar
Codesound
Member
Posts: 365
Joined: Thu Jun 09, 2016 14:56

Re: [Mod] X Farming [x_farming]

by Codesound » Post

Beautiful!!!! We love farming mods.... Thanks.....


+1

User avatar
Skamiz Kazzarch
Member
Posts: 613
Joined: Fri Mar 09, 2018 20:34
GitHub: Skamiz
In-game: Skamiz
Location: la lojbaugag.

Re: [Mod] X Farming [x_farming]

by Skamiz Kazzarch » Post

So I noticed that some of these fish look familiar.
Turns out the Minecraft mod from which you have them took a lot of images from the game Stardew valley:
https://stardewcommunitywiki.com/Collections#Fish
Tried to look around for it, but didn't see under which license they are.

Also pretty sure that at least the Neon Tetra is a slightly modified image of a Terraria fish:
https://terraria.fandom.com/wiki/Neon_Tetra

cuthbertdoublebarrel
Member
Posts: 348
Joined: Tue Apr 14, 2020 16:03
GitHub: cuthbert

Re: [Mod] X Farming [x_farming]

by cuthbertdoublebarrel » Post

Skamiz Kazzarch wrote:
Mon Apr 05, 2021 11:39
So I noticed that some of these fish look familiar.
Turns out the Minecraft mod from which you have them took a lot of images from the game Stardew valley:
https://stardewcommunitywiki.com/Collections#Fish
Tried to look around for it, but didn't see under which license they are.

Also pretty sure that at least the Neon Tetra is a slightly modified image of a Terraria fish:
https://terraria.fandom.com/wiki/Neon_Tetra
both sites state
Content is available under Creative Commons Attribution-NonCommercial-ShareAlike unless otherwise noted.
that ok is it not .?
how about you checking the sound in mtg and mineclone2
can you find the licence and attribution for them ?
Project BrutalTest...hide your Petz

User avatar
Skamiz Kazzarch
Member
Posts: 613
Joined: Fri Mar 09, 2018 20:34
GitHub: Skamiz
In-game: Skamiz
Location: la lojbaugag.

Re: [Mod] X Farming [x_farming]

by Skamiz Kazzarch » Post

cuthbertdoublebarrel wrote:
Mon Apr 05, 2021 12:10
Content is available under Creative Commons Attribution-NonCommercial-ShareAlike unless otherwise noted.
That is the licens of the wiki itself. I don't think that relates to the games where the sprites originate from.

cuthbertdoublebarrel
Member
Posts: 348
Joined: Tue Apr 14, 2020 16:03
GitHub: cuthbert

Re: [Mod] X Farming [x_farming]

by cuthbertdoublebarrel » Post

Skamiz Kazzarch wrote:
Mon Apr 05, 2021 12:18
cuthbertdoublebarrel wrote:
Mon Apr 05, 2021 12:10
Content is available under Creative Commons Attribution-NonCommercial-ShareAlike unless otherwise noted.
That is the licens of the wiki itself. I don't think that relates to the games where the sprites originate from.
but what is displayed is the content .there is no disclaimer stating otherwise as far as i can see .
Project BrutalTest...hide your Petz

User avatar
SaKeL
Member
Posts: 742
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] X Farming [x_farming]

by SaKeL » Post

@cuthbertdoublebarrel that is interesting since it is using sounds from MTG default mod which is also in dependencies. It is possible that some of the other mods are overwriting the default behaviour and breaking it. Nevertheless I have copied that sound to the x_farming mod and it is a part of the package now so the sound (ice dug) should be always found now. New version with this fix is published on Content DB now.

@Codesound thank you !

@Skamiz Kazzarch you could save some time investigating by just reading the README file included in the mod. All the fish textures are coming from https://www.minecraftforum.net/forums/m ... w-fish-new, by Athesiel and it is appropriately acknowledged in the readme file as requested by the author.

User avatar
Skamiz Kazzarch
Member
Posts: 613
Joined: Fri Mar 09, 2018 20:34
GitHub: Skamiz
In-game: Skamiz
Location: la lojbaugag.

Re: [Mod] X Farming [x_farming]

by Skamiz Kazzarch » Post

SaKeL wrote:
Mon Apr 05, 2021 13:15
@Skamiz Kazzarch you could save some time investigating by just reading the README file included in the mod. All the fish textures are coming from https://www.minecraftforum.net/forums/m ... w-fish-new, by Athesiel and it is appropriately acknowledged in the readme file as requested by the author.
Yes, thank you for your advice, but:
Skamiz Kazzarch wrote:
Mon Apr 05, 2021 11:39
Turns out the Minecraft mod from which you have them took a lot of images from the game Stardew valley:
The question I posited is whether Athesiel has any rights to those textures in the first place since they didn't create them on their own, but only took someone elses and slightly modified them, which I assume depends on how the original textures are licensed. Given that Stardew valley isn't an open source project my answer leans towards no. But since a quick search didn't give me anything and I am not all that familiar with licensing in general I will refrain from making any hard claims.

In the end it's no skin of my back. I just noticed that they look familiar, so I got a bit curious how they got here.

User avatar
Eris
Member
Posts: 175
Joined: Thu Nov 19, 2020 23:12
IRC: definitelya Ovalo
In-game: Eris_still_crafts

Re: [Mod] X Farming [x_farming]

by Eris » Post

Hi SaKeL,
I tried running "The Realtest Game" with your mod, however I ran into the same error:

Code: Select all

WARNING[Main]: Undeclared global variable "farming" accessed at ...t/minetest-5.5.0-dev/bin/../mods/x_farming/melon.lua:2                                                                                                                                
ERROR[Main]: ModError: Failed to load and run script from /home/hebought/Games/Minetest/minetest-5.5.0-dev/bin/../mods/x_farming/init.lua:                                                                                                               
ERROR[Main]: ...t/minetest-5.5.0-dev/bin/../mods/x_farming/melon.lua:2: attempt to index global 'farming' (a nil value)                                                                                                                                  
ERROR[Main]: stack traceback:                                                                                     
ERROR[Main]:       ...t/minetest-5.5.0-dev/bin/../mods/x_farming/melon.lua:2: in main chunk                       
ERROR[Main]:       [C]: in function 'dofile'                                                                      
ERROR[Main]:       ...st/minetest-5.5.0-dev/bin/../mods/x_farming/init.lua:8: in main chunk                       
ERROR[Main]: Check debug.txt for details.                                                                         
ACTION[Main]: Server: Shutting down
I already wrote in the game's thread (viewtopic.php?f=15&t=24492&start=25), so hopefully it gets fixed soonish.
Thanks for the cool mod though. ;)
Jump in the caac

User avatar
SaKeL
Member
Posts: 742
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] X Farming [x_farming]

by SaKeL » Post

Ok seems like the game you are running is not using farming mod from default minetest_game, see the dependencies in the description above

User avatar
Eris
Member
Posts: 175
Joined: Thu Nov 19, 2020 23:12
IRC: definitelya Ovalo
In-game: Eris_still_crafts

Re: [Mod] X Farming [x_farming]

by Eris » Post

SaKeL wrote:
Mon May 31, 2021 12:12
Ok seems like the game you are running is not using farming mod from default minetest_game, see the dependencies in the description above
Got it! Yeah I saw default and I was hopeful. Looks like I'll have to rely on other mods.
Thanks for helping!
Jump in the caac

User avatar
SaKeL
Member
Posts: 742
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] X Farming [x_farming]

by SaKeL » Post

Update

* add new place-able items
* add new item models
Attachments
screenshot.3.png
screenshot.3.png (372.34 KiB) Viewed 4499 times
Last edited by SaKeL on Wed Nov 02, 2022 15:50, edited 1 time in total.

User avatar
j0j0n4th4n
Member
Posts: 249
Joined: Tue Jan 26, 2021 06:45

Re: [Mod] X Farming [x_farming]

by j0j0n4th4n » Post

That are some great voxels, well done =)
cdb_894a100ddd76

User avatar
SaKeL
Member
Posts: 742
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] X Farming [x_farming]

by SaKeL » Post

Update

* added crates and bags (more info in the 1st post description)
* fixed bug ice fishing timer should never go so fast that was just for testing :)
Attachments
screenshot.4.png
screenshot.4.png (612.14 KiB) Viewed 4112 times

User avatar
SaKeL
Member
Posts: 742
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] X Farming [x_farming]

by SaKeL » Post

Update

* improved crate textures
* add translations
* add animated water to salt textures, also adds darker/wet soil dirt texture

User avatar
SaKeL
Member
Posts: 742
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] X Farming [x_farming]

by SaKeL » Post

Update

* add composter
Attachments
screenshot.5.png
screenshot.5.png (568.39 KiB) Viewed 3856 times

User avatar
SaKeL
Member
Posts: 742
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] X Farming [x_farming]

by SaKeL » Post

Update

* Remove unnecessary mandatory mod requirements
* Remove unnecessary optional mod requirements
* hog stew is now fish stew

User avatar
SaKeL
Member
Posts: 742
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] X Farming [x_farming]

by SaKeL » Post

Update

* new refreshed textures for some plants and items
* all new fish textures

User avatar
SaKeL
Member
Posts: 742
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] X Farming [x_farming]

by SaKeL » Post

Update

* cactus fruit can be now used to craft cactus brick
* updated cooked fish textures/overlay

mitchpleune
New member
Posts: 2
Joined: Tue Jan 17, 2023 19:03
GitHub: Pleune
IRC: Pleune
In-game: pleune

Re: [Mod] X Farming [x_farming]

by mitchpleune » Post

Is there a particular reason that the xfarming:jungle_tree is added instead of just reusing the existing jungle nodes?

User avatar
SaKeL
Member
Posts: 742
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] X Farming [x_farming]

by SaKeL » Post

mitchpleune yes, mostly for Leafdecay, new wood type for building and new cocoa fruit attached to the jungle trees - this was the most efficient and performant way

mitchpleune
New member
Posts: 2
Joined: Tue Jan 17, 2023 19:03
GitHub: Pleune
IRC: Pleune
In-game: pleune

Re: [Mod] X Farming [x_farming]

by mitchpleune » Post

It is a much more beautiful texture than the existing jungle wood... What would you think about renaming the node to be Cacao Tree?

User avatar
SaKeL
Member
Posts: 742
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] X Farming [x_farming]

by SaKeL » Post

if it has some significant advantages what others could benefit from while keeping backwards compatibility... why not

User avatar
Lupercus
Member
Posts: 30
Joined: Tue Jan 03, 2017 02:08
GitHub: lupercus13
IRC: Lupercus-Server
In-game: Lupercus

Re: [Mod] X Farming [x_farming]

by Lupercus » Post

Nice mod, only thing is Ice Fishing and Farming would be better if separated into 2 mods

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests