diff options
author | SHsuperCM <shsupercm@gmail.com> | 2022-02-12 09:22:01 +0200 |
---|---|---|
committer | SHsuperCM <shsupercm@gmail.com> | 2022-02-12 09:22:01 +0200 |
commit | 2f39cd8e2ad0d1009220bf83e50e8e4c6e885f36 (patch) | |
tree | 4b43ead6e7180ddd54674ff3042e46371fcc1681 /defaults | |
parent | d51ec9fd6cde3ad393d4d0c91e30cc5d03945eaf (diff) | |
download | CITResewn-2f39cd8e2ad0d1009220bf83e50e8e4c6e885f36.tar.gz CITResewn-2f39cd8e2ad0d1009220bf83e50e8e4c6e885f36.tar.bz2 CITResewn-2f39cd8e2ad0d1009220bf83e50e8e4c6e885f36.zip |
Created item type to test type api
Diffstat (limited to 'defaults')
-rw-r--r-- | defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/types/TypeItem.java | 28 |
1 files changed, 28 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 new file mode 100644 index 0000000..c8ef04b --- /dev/null +++ b/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/types/TypeItem.java @@ -0,0 +1,28 @@ +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.pack.cit.CIT; +import shcm.shsupercm.fabric.citresewn.pack.cit.CITType; + +import java.util.Collection; + +public class TypeItem extends CITType { + @Entrypoint(CITTypeContainer.ENTRYPOINT) + public static final Container CONTAINER = new Container(); + + public static class Container extends CITTypeContainer<TypeItem> { + public Container() { + super(TypeItem.class, TypeItem::new, "item"); + } + + @Override + public void load(Collection<CIT> parsedCITs) { + } + + @Override + public void dispose() { + + } + } +}
\ No newline at end of file |