mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-09 01:06:21 +00:00
live reloading
This commit is contained in:
@@ -62,4 +62,11 @@ public abstract class TerraRegistry<T> implements TypeLoader<T> {
|
||||
public Set<T> entries() {
|
||||
return new HashSet<>(objects.values());
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears all entries from the registry.
|
||||
*/
|
||||
public void clear() {
|
||||
objects.clear();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user