Use Minetest_game fences API if it's available (#57)

Fixes #56, and adds netherbrick rails (for consistency with MTG) if the fences API is found.
Using the MTG fence system adds interop between different fence types, and support for the "Tall fences and walls" option.

I've left the nether's register_craft() call unchanged, it overrides the recipe that default.register_fence() registers, granting 6 fences per crafting instead of MTG's 4.
This commit is contained in:
Treer
2022-09-11 22:51:23 +10:00
committed by GitHub
parent d3f79e961b
commit a03375c5a4
4 changed files with 31 additions and 21 deletions

View File

@ -66,6 +66,7 @@ Lava crust is strong enough to walk on, but still hot enough to inflict burns.=
Nether Basalt=
Nether Brick=Brique du Nether
Nether Brick Fence=Barrière en briques du Nether
Nether Brick Fence Rail=Clôture en briques du Nether
Nether Slab=Dalle du Nether
Nether Stair=Escalier du Nether
Netherrack=Roche du Nether

View File

@ -65,6 +65,7 @@ Lava crust is strong enough to walk on, but still hot enough to inflict burns.=
Nether Basalt=
Nether Brick=
Nether Brick Fence=
Nether Brick Fence Rail=
Nether Slab=
Nether Stair=
Netherrack=