Zero's Library
An Api|Library For My Mods (Zero's [Insert Mod])
No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
Log in to review this mod
Reviews are written by ModDex members. Log in and you'll come right back to the review form.
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Pretty Much Just a Library for My Other Mods, Primarily Adds Method Wrappers, Custom Reworked Sword Methods, Custom Wrapper for GameRegistry.addShapedRecipe(...), GameRegistry.addShapelessRecipe(...) and GameRegistry.addSmeltingRecipe(...)
Heres some Code Snippets.
public static void Shapeless(String name, ItemStack Output, ItemStack[][] In) {
if(In.length > 9) {throw new IllegalArgumentException("Provided ItemStack Array Exceeds Length 9");}
Ingredient[] IArray = new Ingredient[In.length];
for(int i=0;i<In.length;i++) {IArray[i] = Ingredient.fromStacks(In[i]);}
GameRegistry.addShapelessRecipe(new ResourceLocation(name),null,Output,IArray);
}
if(!(KeyList.length > 3)) {
CheckKeys(Grid, KeyList,3);
switch(KeyList.length) {
case 1:
GameRegistry.addShapedRecipe(Name, Group, output, Grid[0],
KeyList[0][0], KeyList[0][1]
);
break;
case 2:
GameRegistry.addShapedRecipe(Name, Group, output, Grid[0],
KeyList[0][0], KeyList[0][1],
KeyList[1][0], KeyList[1][1]
);
break;
case 3:
GameRegistry.addShapedRecipe(Name, Group, output, Grid[0],
KeyList[0][0], KeyList[0][1],
KeyList[1][0], KeyList[1][1],
KeyList[2][0], KeyList[2][1]
);
break;
default: throw new NullPointerException("No Keys Found / Err 0");
}
} else {throw new InvalidParameterException("provided keys exceed 3 slots");}
If You Have Questions Join My Discord Server And Upload a Thread In The Proggramming Forums.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Dec 4, 2026 5:04 AM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works
External Links
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Dec 4, 2026 5:04 AM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works