aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/shcm/shsupercm/fabric/citresewn/api/CITGlobalProperties.java
diff options
context:
space:
mode:
authorSHsuperCM <shsupercm@gmail.com>2022-02-12 09:21:09 +0200
committerSHsuperCM <shsupercm@gmail.com>2022-02-12 09:21:09 +0200
commitd51ec9fd6cde3ad393d4d0c91e30cc5d03945eaf (patch)
tree0f31635f43220e6a3ffcc9bc9390de7016242959 /src/main/java/shcm/shsupercm/fabric/citresewn/api/CITGlobalProperties.java
parentba570a6b2e37f6f45b149515cd41d10037cbda7f (diff)
downloadCITResewn-d51ec9fd6cde3ad393d4d0c91e30cc5d03945eaf.tar.gz
CITResewn-d51ec9fd6cde3ad393d4d0c91e30cc5d03945eaf.tar.bz2
CITResewn-d51ec9fd6cde3ad393d4d0c91e30cc5d03945eaf.zip
More work on type registry/api
Diffstat (limited to 'src/main/java/shcm/shsupercm/fabric/citresewn/api/CITGlobalProperties.java')
-rw-r--r--src/main/java/shcm/shsupercm/fabric/citresewn/api/CITGlobalProperties.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/api/CITGlobalProperties.java b/src/main/java/shcm/shsupercm/fabric/citresewn/api/CITGlobalProperties.java
new file mode 100644
index 0000000..ada5147
--- /dev/null
+++ b/src/main/java/shcm/shsupercm/fabric/citresewn/api/CITGlobalProperties.java
@@ -0,0 +1,10 @@
+package shcm.shsupercm.fabric.citresewn.api;
+
+import shcm.shsupercm.fabric.citresewn.pack.format.PropertyValue;
+
+@FunctionalInterface
+public interface CITGlobalProperties {
+ String ENTRYPOINT = "citresewn:global_property";
+
+ void globalProperty(String key, PropertyValue value) throws Exception;
+}