Custom Item Framework:
A framework for easily creating custom items in minecraft. CIF dynamically builds the resourcepack and allows you to host your own resourcepack.
How it works:
- When the plugin starts, it creates a server daemon that hosts the resourcepack on the specified port (normally 8080. Configurable in the config)
- When the server starts, the plugin compiles all of the registered custom items and their model data and dynamically creates a resourcepack.
To add the project through maven, use:
Code (Text):
<repository>
<id>codemc-repo</id>
<url>https://repo.codemc.org/repository/maven-public/</url>
</repository>
<dependency>
<groupId>me.zombie_striker</groupId>
<artifactId>CustomItemFramework</artifactId>
<version>1.0.0</version>
</dependency>
<id>codemc-repo</id>
<url>https://repo.codemc.org/repository/maven-public/</url>
</repository>
<dependency>
<groupId>me.zombie_striker</groupId>
<artifactId>CustomItemFramework</artifactId>
<version>1.0.0</version>
</dependency>
Code (Text):
CustomItemFramework.registerResourcepack(MAIN_CLASS.class.getResource("/resourcepack/"));
Code (Text):
CustomItemFramework.registerCustomItem(new CustomItem("internalname", MATERIAL,"Displayname",ModelPath,NUMBER,ItemEvents.DEFAULT));
- "InternalName" is a custom name given for your item. By convention, it should be all lower case.
- MATERIAL is the material of the base item that will be used.
- "Displayname" is the displayname of the custom item.
- ModelPath is a string which represents the model path. So, for example, if the model is located in the /model/item/ folder, and the model's file name is called "test.json", you would use "item/test"
- NUMBER is the custom model data ID that will be used for the item.
- ItemEvents.DEFAULT is the default item events, which means the item does nothing. To make the item do anything, create a new ItemEvent.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.14, 1.15, 1.16
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
CustomItemFramework is a free Minecraft Java mod. Compatible with Minecraft 1.14, 1.15, 1.16. Downloaded 3,083 times (via Spigot). Download it and open it directly in the game.