mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-20 07:02:32 +01:00
Added WIP Registry
This commit is contained in:
parent
82eec1072c
commit
70cd3891cf
31
src/main/java/net/minestom/server/registry/Registry.java
Normal file
31
src/main/java/net/minestom/server/registry/Registry.java
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user