[mod] Floating Anchor [floating_anchor]

User avatar
Starbeamrainbowlabs
Member
 
Posts: 35
Joined: Sat May 26, 2018 11:25
Location: Nowhere, Everywhere, and Somewhere inbetween
GitHub: sbrl

[mod] Floating Anchor [floating_anchor]

by Starbeamrainbowlabs » Sat May 26, 2018 11:45

Hello!

I'm new here, but I've got some decent programming experience and have starting playing around with minetest to build things creatively for visualisation purposes. To that end, I've written my first mod: a floating anchor. Based on the Angel Block from the ExtraUtilities mod for Minecraft, the floating anchor, when used (right click like you're placing a block), places a block directly at your feet in mid-air:

Image

When broken, it returns to your inventory.

I had quite a bit of trouble hiding the actual node form of the anchor from the creative inventory - for future reference you need to set "not_in_creative_inventory = 1" as a group of the node to hide it.

Installation Instructions
It's strongly recommended that you clone the repository with `git` to the `worldmods` folder (create it if it doesn't exist) in your world's directory - then you can update with a simple `git pull`.

Links
License: Code: Mozilla Public License 2.0 (MPL-2.0), Textures: Creative Commons 4.0 Attribution-ShareAlike (CC-BY-SA)

Latest Update: Support for the doc modpack has been added! The anchor item should now be described in the help pages.
Last edited by Starbeamrainbowlabs on Thu Sep 13, 2018 21:39, edited 2 times in total.
 

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

Re: [mod] Floating Anchor [floating_anchor]

by texmex » Sat May 26, 2018 16:27

Excellent little mod sbrl, I’ve been wanting this. Don’t forget to submit it to the content database. https://content.minetest.net/
 

User avatar
RSLRedstonier
Member
 
Posts: 439
Joined: Wed May 10, 2017 21:00
Location: some were in middle earth
GitHub: RSL-Redstonier
In-game: RSLRedstonier

Re: [mod] Floating Anchor [floating_anchor]

by RSLRedstonier » Sat May 26, 2018 23:51

texmex wrote:I’ve been wanting this. Don’t forget to submit it to the content database. https://content.minetest.net/

im starting to wonder why everybody notices small mods like this that are literally the same exact things that I have already made and published. the code to this is nearly identical to the code from my angel block except this adds a minetest.log. Not to hate on the mod, its a cool mod with a cool idea but I already made this. and the same happens with a TON of other mods. then everybody thinks they were the first and congratulates them while I don't think a single person knows I made an angel block style node first
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
https://forum.minetest.net/viewtopic.php?f=9&t=17568
 

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

Re: [mod] Floating Anchor [floating_anchor]

by texmex » Sun May 27, 2018 08:36

RSLRedstonier wrote:I don't think a single person knows I made an angel block style node first


I for one is just happy that another coder has found MT. The fact that I can’t find your mod you mention in the forums nor on Github answers your question. It’s not sbrl’s problem that you don’t advertise your mods properly. It’s also not a race of who’s first since it was made in MC ages ago anyway, which is mentioned in the first post.
 

User avatar
Starbeamrainbowlabs
Member
 
Posts: 35
Joined: Sat May 26, 2018 11:25
Location: Nowhere, Everywhere, and Somewhere inbetween
GitHub: sbrl

Re: [mod] Floating Anchor [floating_anchor]

by Starbeamrainbowlabs » Sun May 27, 2018 14:14

texmex wrote:Excellent little mod sbrl, I’ve been wanting this. Don’t forget to submit it to the content database. https://content.minetest.net/


Hey, thanks! Glad you like it. I'll do that now. That looks like a really useful site! Can't believe I didn't find that before now. I must have missed a link to it on the official website.

RSLRedstonier wrote:im starting to wonder why everybody notices small mods like this that are literally the same exact things that I have already made and published. the code to this is nearly identical to the code from my angel block except this adds a minetest.log. Not to hate on the mod, its a cool mod with a cool idea but I already made this. and the same happens with a TON of other mods. then everybody thinks they were the first and congratulates them while I don't think a single person knows I made an angel block style node first


Erm you do? I didn't find it when I went looking, so I created my own.

-------

Edit: Submitted! Couldn't figure out how to add a screenshot though. I've also got another mod I'm working on called worldeditadditions (it's on my GitHub account) - which I might post about here once it's got more commands.
 

User avatar
Stix
Member
 
Posts: 1232
Joined: Fri Aug 04, 2017 14:19
Location: USA
IRC: Stix + Stix_
In-game: Stix

Re: [mod] Floating Anchor [floating_anchor]

by Stix » Sun May 27, 2018 14:49

I really like the concept, great for building skybases (i always hated having to pillar up first). On a side-note i just looked through all his topics and couldnt find the mod @RSLRedstonier was talking about.
Hello, profile stalker...
Need to know something? "Google it" --GreenDimond
Next release of your favorite game? "Bugfixes" --Wuzzy
[OLD]The new Minetest-offtopic can be found here: https://minetestoftopic.createaforum.com/index.php
 

User avatar
RSLRedstonier
Member
 
Posts: 439
Joined: Wed May 10, 2017 21:00
Location: some were in middle earth
GitHub: RSL-Redstonier
In-game: RSLRedstonier

Re: [mod] Floating Anchor [floating_anchor]

by RSLRedstonier » Sun May 27, 2018 19:59

Stix wrote:On a side-note i just looked through all his topics and couldnt find the mod @RSLRedstonier was talking about.

that's my fault.
it is nice to have small 1 or 2 function mods but I find it clutters up the mods folder/game mods folder.
I have a nasty habit of taking tons of small things and cramming them into 1 group.
the angel block and metric tons of other items/features can be found in my skytest mod. I have released v 1.6 and v 1.7 is done but not releasing until skyfactory is released. (almost there just a bit of polishing, also waiting to mt 0.5)
every feature in skytest can be found in its all be it very long changelog. angel block was added in v 1.3
tbh this mod uses better textures than my angel block.
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
https://forum.minetest.net/viewtopic.php?f=9&t=17568
 

FaceDeer
Member
 
Posts: 247
Joined: Sat Aug 29, 2015 19:01
GitHub: FaceDeer

Re: [mod] Floating Anchor [floating_anchor]

by FaceDeer » Sun May 27, 2018 21:07

RSLRedstonier wrote:it is nice to have small 1 or 2 function mods but I find it clutters up the mods folder/game mods folder.
I have a nasty habit of taking tons of small things and cramming them into 1 group.


Have you tried putting them into a modpack? If the one-or-two-function mods are fully independent of each other that would allow them to be enabled and disabled independent of each other, without adding extra subdirectories to the mods folder itself.
 

User avatar
RSLRedstonier
Member
 
Posts: 439
Joined: Wed May 10, 2017 21:00
Location: some were in middle earth
GitHub: RSL-Redstonier
In-game: RSLRedstonier

Re: [mod] Floating Anchor [floating_anchor]

by RSLRedstonier » Sun May 27, 2018 23:05

FaceDeer wrote:Have you tried putting them into a modpack? If the one-or-two-function mods are fully independent of each other that would allow them to be enabled and disabled independent of each other, without adding extra subdirectories to the mods folder itself.

well in skytest almost everything depends on everything else either hard depends or soft for recipes. skytest was a patch job to bring my skyfactory subgame together. idk why but i decided to release skytest first
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
https://forum.minetest.net/viewtopic.php?f=9&t=17568
 

User avatar
Starbeamrainbowlabs
Member
 
Posts: 35
Joined: Sat May 26, 2018 11:25
Location: Nowhere, Everywhere, and Somewhere inbetween
GitHub: sbrl

Re: [mod] Floating Anchor [floating_anchor]

by Starbeamrainbowlabs » Mon May 28, 2018 16:15

RSLRedstonier wrote:
Stix wrote:On a side-note i just looked through all his topics and couldnt find the mod @RSLRedstonier was talking about.

that's my fault.
it is nice to have small 1 or 2 function mods but I find it clutters up the mods folder/game mods folder.
I have a nasty habit of taking tons of small things and cramming them into 1 group.
the angel block and metric tons of other items/features can be found in my skytest mod. I have released v 1.6 and v 1.7 is done but not releasing until skyfactory is released. (almost there just a bit of polishing, also waiting to mt 0.5)
every feature in skytest can be found in its all be it very long changelog. angel block was added in v 1.3
tbh this mod uses better textures than my angel block.


Ah, I see. I drew the texture myself with Piskel: https://www.piskelapp.com/
 

User avatar
Stix
Member
 
Posts: 1232
Joined: Fri Aug 04, 2017 14:19
Location: USA
IRC: Stix + Stix_
In-game: Stix

Re: [mod] Floating Anchor [floating_anchor]

by Stix » Mon May 28, 2018 16:21

Starbeamrainbowlabs wrote:
RSLRedstonier wrote:
Stix wrote:On a side-note i just looked through all his topics and couldnt find the mod @RSLRedstonier was talking about.

that's my fault.
it is nice to have small 1 or 2 function mods but I find it clutters up the mods folder/game mods folder.
I have a nasty habit of taking tons of small things and cramming them into 1 group.
the angel block and metric tons of other items/features can be found in my skytest mod. I have released v 1.6 and v 1.7 is done but not releasing until skyfactory is released. (almost there just a bit of polishing, also waiting to mt 0.5)
every feature in skytest can be found in its all be it very long changelog. angel block was added in v 1.3
tbh this mod uses better textures than my angel block.


Ah, I see. I drew the texture myself with Piskel: https://www.piskelapp.com/

Ive never seen that program before, personally i prefer to draw my textures using gimp.
Hello, profile stalker...
Need to know something? "Google it" --GreenDimond
Next release of your favorite game? "Bugfixes" --Wuzzy
[OLD]The new Minetest-offtopic can be found here: https://minetestoftopic.createaforum.com/index.php
 


Return to WIP Mods



Who is online

Users browsing this forum: Google [Bot], texmex and 8 guests