Back to mods
SilliestLib project artwork

Modrinth · Minecraft mod

SilliestLib

A small Library mod for my own projects.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which SilliestLib release should I use?

Updated today
Latest stable file 1.3a+26.2
Game version 26.2
Loader Fabric

SilliestLib 1.3a+26.2 targets 26.2 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.

Where it goes

Is SilliestLib required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does SilliestLib 1.3a+26.2 need?

1.3a+26.2. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by SilliestLib 1.3a+26.2
required
Matching file found Matched file: 0.158.0+26.2

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add SilliestLib without breaking your instance.

Built for SilliestLib 1.3a+26.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.3a+26.2. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.3a+26.2. It opens that exact file at the source.

About this project

What does SilliestLib add?

           

SilliestLib is a small library mod made for the Silliest SMP team, reducing re-used code and making some things easier for us :p

Project Info

Features

Misc Features

  • Double Handed Component
    • when added to an item and held, it makes the players armPose visually appear like you are holding the item with both hands.
  • Compat Blocks/Items
    • these blocks/items function almost identical to their vanilla counterparts, but instead being disabled if a modId isnt loaded into the game.
  • Custom wall model templates
    • these function identical to vanilla walls, with the addition of a seperate top texture.

SilliestLibDataUtils

Some simple utils for block model generation

SilliestLibRegUtils

A group of registry methods, made to avoid repetetive code

  • Blocks
    • BlockIds
  • BlockItems
    • BlockItemIds
  • Items
    • ItemIds
  • Entities
    • Entity Sub Predicates
    • Block Entities
    • EntityTypeIds
  • Components
  • Effects
    • Potions
    • Potion Recipes
  • Particles
  • Sounds
    • Jukebox Songs
  • Custom Stats
  • Recipe Serializers
  • Villagers
    • POIs
  • Keybinds
  • Armor Materials
How to add SilliestLib to your projects.

build.gradle

We start in your build.gradle, where you add this as your repositories block.

repositories {
    exclusiveContent {
        forRepository {
            maven {
                name = "Modrinth"
                url = "https://api.modrinth.com/maven"
            }
        }
        filter {
            includeGroup "maven.modrinth"
        }
    }
}

Then, in dependencies block, you add this.

dependencies {
    // SilliestLib
    implementation "maven.modrinth:silliestlib:${project.silliestlib_version}"
}

gradle.properties

In your gradle.properties, you now need to add the mod version, this changes with every update to the mod, so make sure to change it to update SilliestLib.

silliestlib_version=R9nZXXhb

This is technically optional and can replace "${project.silliestlib_version}" in the build.gradle instead of being here, but is cleaner to do here.

fabric.mod.json

To make sure people can debug issues when SilliestLib is missing, remember to add the mod into the dependencies block, due to my versioning scheme not matching the semantic version format, make sure you have to version as "*" or it wont work :p

"depends": {
    "silliestlib": "*"
}

Your ModInitializer

Before you can start any modding, in the "onInitialize()" method of your ModInitializer you have to add one simple line.

SilliestLib.init(MOD_ID);

Alternatively, "MOD_ID" can be replaced with either a string of your modId or a call to where you store your modId.

for more information on how to use the mod, please go to the wiki

Before You Ask

Q: Can i use this project in my published modpacks?

A: of course, you can do this with any of my projects aslong as the download stays hosted within the modrinth ecosystem :3

Project description from Modrinth.

Pick your setup

SilliestLib by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

SilliestLib versions and loaders

5 of 5 releases match

Looking for an older file? The official Modrinth project page is in Resources.