Minetest_game: Add barrier block

Created on 15 Sep 2019  路  7Comments  路  Source: minetest/minetest_game

Not inventing wheel here, it is "transparent solid block used to create impenetrable boundaries", used by server admins to create boundaries for various purposes.

Request / Suggestion Won't add

Most helpful comment

I am not convinced this is a good idea for MTG. Such barriers are usually a specialist usage by servers, and servers likely need differing characteristics according to their need.

All 7 comments

I've created it, but it is TNT-able. Not sure how to prevent that.

You can return true/false (I forget which) with on_blast in your node def to prevent TNT from destroying it

Thanks; it worked.

test1
0.06% alpha. I've also made the inventory image white (using the cloud texture).

Which tool should be used to break the barrier?

default_tool_adminpick

How about an admin pick or something of the type?

An admin pick like the superpick in Minetest would be nice. But I think for now it would be better to just set barrier blocks to be able to dig themselves

I am not convinced this is a good idea for MTG. Such barriers are usually a specialist usage by servers, and servers likely need differing characteristics according to their need.

See PR (closed) for more discussion.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cdqwertz picture cdqwertz  路  6Comments

Fixer-007 picture Fixer-007  路  6Comments

sofar picture sofar  路  5Comments

cx384 picture cx384  路  6Comments

TekhnaeRaav picture TekhnaeRaav  路  5Comments