WIP minetest <-> laby import/export

- currently possible to export a laby into minetest
- start of a lua content parser to import .we into lab
This commit is contained in:
philippe lhardy
2020-11-03 23:21:29 +01:00
parent 41067707bc
commit 9355fd8b6d
11 changed files with 424 additions and 10 deletions

View File

@@ -0,0 +1,24 @@
package org.artisanlogiciel.games.minetest;
public class Material {
public static final String GRASS_MATERIAL = "default:dirt_with_grass";
public static Material DEFAULT = new Material(GRASS_MATERIAL);
private String name;
public Material(String name) {
this.name = name;
}
public static Material getMaterialByName(String name)
{
return DEFAULT;
}
@Override
public String toString() {
return "name";
}
}