Big Items API

Quick rating

Big Items API

No reviews yet

A really simple library that allows developers to make items take up more inventory slots.

Storage & Organization
API/Library
Mod Loaders
Fabric
Quilt
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Authors

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

A simple to use library mod that allows mod developers to make their items take up more inventory space... for whatever reason you want to make people's lives harder

For players

Does nothing if installed not as a dependency or by itself!

For mod developers

Getting started:

  • Import the .jar into your project root folder (or any folder branching from root)
  • In your dependencies block in build.gradle add this line:
modImplementation(files("path/big-items-a1.2.3.jar"))

Usage:

  • In an item class, implement silly.homak.bigitems.interfaces.IBigItem Class of a big item

IBigItem:

  • To set the item's scale override the getScale() array, has to return an array of 2 integers, this is the item's scale in slots on the X and Y axis.

    How you scale an item

  • Big items have a rendered background that displays their actual scale, it's color is based on the average color of the item's texture (disregarding empty pixels). To set the background color explicitly override getColor(), has to return an integer color value.

    An item with a custom colored background

  • The interface contains a boolean isScaled() that returns if the item is big or not, returns false in scenarios like being in the hotbar or a crafting block, has to be called on the client side.

Misc:

TextureUtils:

  • Contains a bunch of helper methods for working with integer color values:
    • darkenColor: Decreases an int color's brightness, accepts an integer color and a double factor, which has to be a decimal between 0 and 1, 1 being no effect and 0 being fully black.
    • fadeColor: Decreases an int color's alpha, same arguments as the previous.
    • darkenColor: Decreases an int color's saturation, same arguments as the previous.
    • getAverageColor: Returns the mathematical average color of all pixels in an item's texture, disregards alpha.

Screenshots

Gallery

  • Supports all vanilla actions
    Supports all vanilla actions Cooldown, Dourability, Item Count support

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.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works