diff options
author | SHsuperCM <shsupercm@gmail.com> | 2022-02-12 14:28:07 +0200 |
---|---|---|
committer | SHsuperCM <shsupercm@gmail.com> | 2022-02-12 14:34:41 +0200 |
commit | 3ca2dde4a8e70bd3f8f11b5d7dbad9ddbc9792af (patch) | |
tree | eb0096f6a375cceddef774a9e830c8ffd00ceaff /defaults/src/main/java/shcm/shsupercm | |
parent | 2f39cd8e2ad0d1009220bf83e50e8e4c6e885f36 (diff) | |
download | CITResewn-3ca2dde4a8e70bd3f8f11b5d7dbad9ddbc9792af.tar.gz CITResewn-3ca2dde4a8e70bd3f8f11b5d7dbad9ddbc9792af.tar.bz2 CITResewn-3ca2dde4a8e70bd3f8f11b5d7dbad9ddbc9792af.zip |
Created condition container api/parsing and fixed some stuff
Diffstat (limited to 'defaults/src/main/java/shcm/shsupercm')
-rw-r--r-- | defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/types/TypeItem.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/types/TypeItem.java b/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/types/TypeItem.java index c8ef04b..ec2491f 100644 --- a/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/types/TypeItem.java +++ b/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/types/TypeItem.java @@ -2,15 +2,25 @@ package shcm.shsupercm.fabric.citresewn.defaults.types; import io.shcm.shsupercm.fabric.fletchingtable.api.Entrypoint; import shcm.shsupercm.fabric.citresewn.api.CITTypeContainer; +import shcm.shsupercm.fabric.citresewn.ex.CITParsingException; +import shcm.shsupercm.fabric.citresewn.pack.GlobalProperties; import shcm.shsupercm.fabric.citresewn.pack.cit.CIT; +import shcm.shsupercm.fabric.citresewn.pack.cit.CITCondition; import shcm.shsupercm.fabric.citresewn.pack.cit.CITType; +import shcm.shsupercm.fabric.citresewn.pack.format.PropertyGroup; import java.util.Collection; +import java.util.List; public class TypeItem extends CITType { @Entrypoint(CITTypeContainer.ENTRYPOINT) public static final Container CONTAINER = new Container(); + @Override + public void load(List<? extends CITCondition> conditions, PropertyGroup properties, GlobalProperties globalProperties) throws CITParsingException { + + } + public static class Container extends CITTypeContainer<TypeItem> { public Container() { super(TypeItem.class, TypeItem::new, "item"); |