[Mod] Basic Trees [basic_trees]

Post Reply
User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

[Mod] Basic Trees [basic_trees]

by bosapara » Post

Basic Trees

Image Download | Github



Mod adding 8 new trees: cypress, eucalyptus, willow, sequoia, birch, maple, oak, cedar

+ Fences and Gates (added as different mod, by the reason of troubles with moreblocks mod)

All trees added as mts files, grow timer 15 mins, mapgen isn't added

_____________________

used part of 'real_trees' code;
some textures and models from: ethereal, mineclone, moretrees, lord of the test, mc

Image
Image
Image

PS Mod created for personal use, but possibly it can be useful for someone else

PPS If u need slabs, microslabs, stairs - add moreblocks mod and add code to moreblocks file mods\moreblocks\stairsplus\registrations.lua

Code: Select all

-- basic_trees registrations
if minetest.get_modpath("basic_trees") then
	local real_trees_nodes = {"oak_trunk", "birch_trunk", "willow_trunk", "maple_trunk", "cedar_trunk", "sequoia_trunk", "oak_planks", "birch_planks", "willow_planks", "maple_planks", "cedar_planks", "sequoia_planks", "eucalyptus_trunk", "cypress_trunk", "eucalyptus_planks", "cypress_planks"}
	for _, name in pairs(real_trees_nodes) do
		local mod = "basic_trees"
		local nodename = mod .. ":" .. name
		local ndef = table.copy(minetest.registered_nodes[nodename])
		ndef.sunlight_propagates = true

		mod = "moreblocks"
		stairsplus:register_all(mod, name, nodename, ndef)
		minetest.register_alias_force("stairs:stair_" .. name, mod .. ":stair_" .. name)
		minetest.register_alias_force("stairs:slab_"  .. name, mod .. ":slab_"  .. name)
	end
end
Last edited by bosapara on Wed Feb 20, 2019 18:50, edited 4 times in total.

User avatar
Hume2
Member
Posts: 710
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: [Mod] Basic Trees [basic_trees]

by Hume2 » Post

It seems, you forgot to specify the license. Not specifying the license is against the rules.

I'm not sure if it's a good idea to implement trees those are already in other mods. I'd rather tweak these other mods instead. Or at least there could be something to disable some trees if they are already in other installed mods.
If you lack the reality, go on a trip or find a job.

User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Basic Trees [basic_trees]

by bosapara » Post

Hume2 wrote:It seems, you forgot to specify the license.
I don't use license, but ok, let it be: WTFPL

User avatar
yzelast
Member
Posts: 54
Joined: Sun Oct 02, 2016 01:18
GitHub: yzelast
In-game: yzelast
Location: Far Far Away

Re: [Mod] Basic Trees [basic_trees]

by yzelast » Post

Interesting mod but i think there are some issues that need to be pointed:
  • How you can create new trees that cannot be found in the map?
  • The license should be properly defined, as you already said, your mod is based in many other mods, so you must be sure to respect its respectively licenses.
  • If you only want to create new trees you shouldn't base your code from my mod, my code was not made to create new trees. And my code was very bad written so nothing based on it will be good.
G84mU6AQ9dKaNhxn6dq8P5C0y5r8NssE

User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Basic Trees [basic_trees]

by bosapara » Post

yzelast, u missed this message: PS Mod created for personal use, but possibly it can be useful for someone else

For skyblock not need mapgen, so if someone need mapgen - anyone can modify and add

User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Basic Trees [basic_trees]

by bosapara » Post

Update:

Fences added to mod
Gates added as addition "basic_trees_gates" (can't introduce gates to main mod, moreblocks doesn't work)

Image Download

Image
Image

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

Re: [Mod] Basic Trees [basic_trees]

by texmex » Post

some textures and models from: ethereal, mineclone, moretrees, lord of the test, mc
Are you saying you merged content from these projects yet licensed yours WTFPL?

User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Basic Trees [basic_trees]

by bosapara » Post

texmex wrote:
some textures and models from: ethereal, mineclone, moretrees, lord of the test, mc
Are you saying you merged content from these projects yet licensed yours WTFPL?
It mean without any license

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

Re: [Mod] Basic Trees [basic_trees]

by texmex » Post

And mc = Minecraft? You’re redistributing Minecraft content?

Apart from this, the mod in itself look good and is a quite welcome addition to MT :)

User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Basic Trees [basic_trees]

by bosapara » Post

texmex wrote:And mc = Minecraft? You’re redistributing Minecraft content?
Can tell there are was good idea for textures, thats all
texmex wrote:Apart from this, the mod in itself look good and is a quite welcome addition to MT :)
Thanx

Astrobe
Member
Posts: 577
Joined: Sun Apr 01, 2018 10:46

Re: [Mod] Basic Trees [basic_trees]

by Astrobe » Post

The Github link on the first post points to the wrong repo.

User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Basic Trees [basic_trees]

by bosapara » Post

Fixed

wziard
Member
Posts: 127
Joined: Mon Oct 29, 2018 19:12

Re: [Mod] Basic Trees [basic_trees]

by wziard » Post

Dear bosapara,
I understand you don't like this license hassle. I don't either.
I understand you think licenses are nonsense. I somewhat agree.

*But*, and that's a very big *but*, The rest of the world doesn't agree with that and you *have* to play by the rules or you could get yourself (and the minetest forum owners as well!!!) in trouble.

So:
-using textures/models from MC: absolutely *verboten*. Unless they are from a MC *mod* whose license permits it. Microsoft is a very large company, with deep deep pockets for lawyer money.
-using textures/models/code from another mod which uses a different license than yours: only allowed if the licenses are compatible. If you actually get in trouble depends on the author of the original. But at the very least it's extremely rude to just ignore someone else's license.

You try to handwave it away by saying: "it's only for personal use." But it doesn't work that way. Of course you can use it 'for personal use' on your own computer (who's going to notice anyway). But you *can't* ignore all licenses and then post it on a forum of use it on an open server.

Mind, I'm not trying to attack you. I like the trees. And I like the fact that you put the effort in and want to share. But the realities of the world are the way they are and you can't just ignore them.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 15 guests