Added WIP Registry

This commit is contained in:
TheMode 2021-06-11 16:48:00 +02:00
parent 82eec1072c
commit 70cd3891cf

View File

@ -0,0 +1,31 @@
package net.minestom.server.registry;
import net.minestom.server.instance.block.Block;
public class Registry {
public static Entry block(Block block) {
return new Entry("blocks.json");
}
public static class Entry {
private final String resource;
private Entry(String resource) {
this.resource = resource;
}
public String getString(String path) {
return null;
}
public int getInt(String path) {
return 0;
}
public boolean getBoolean(String path) {
return false;
}
}
}