SilliestLib 图标

SilliestLib

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.2a+26.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/silliestlib
资源信息

Minecraft 版本: 26.2

平台: fabric

标签: library utility

资源介绍

            #

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. ```gradle repositories { exclusiveContent { forRepository { maven { name = "Modrinth" url = "https://api.modrinth.com/maven" } } filter { includeGroup "maven.modrinth" } } } ``` Then, in dependencies block, you add this. ```gradle 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. ```properties 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 ```json "depends": { "silliestlib": "*" } ``` ## Your ModInitializer Before you can start any modding, in the "onInitialize()" method of your ModInitializer you have to add one simple line. ```java 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](https://github.com/HyperionDash/silliestlib/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

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
LumenFalls

价格:0 墨喵币
下载量:0

查看详情
Minecraft City

价格:0 墨喵币
下载量:0

查看详情
Ping!

价格:0 墨喵币
下载量:0

查看详情
SellGUI

价格:0 墨喵币
下载量:0

查看详情