Tags
Creators
Details
Licensed LGPL-3.0-only
Published 3 years ago
Updated last week
All versions
4.3.0+fabric
Release
Assorted Lib 4.3.0 (Fabric)last week 654
Uploaded by
Compatibility
Minecraft: Java Edition
26.2
Platform
Fabric
Supported environments
Client and server
Required content
Any compatible version
Changes
4.3.0
IPlatformHelper#registerFlammablelets fire spread to and burn away a mod's block, with the same odds on both loaders.PlayerDeathDropsEventfires once a player's death is final, after any totem, and before their inventory and experience drop. Fabric's own death events come either before the totem or after the drops.IClientHelper#registerLevelSubmitadds geometry to every level frame, after entities and block entities, on both loaders.- Registry aliases, for a mod that moves its content to a new id:
IRegistryFactory#alias, orRegistryProvider#aliasFrom(oldNamespace)to alias everything a provider registers. A world saved under the old ids loads the same entities, items and blocks. SharedCreativeTabsgives a family of mods one creative tab between them, registered by whichever is installed first and filled in a fixed order.- A mod's manual chapters can join another namespace's section:
LibManualProvidertakes a manual namespace, and a section'siconcan list several items, the first registered drawn. MovedIdskeeps a player's recipe book and advancement progress when a mod moves its recipes and advancements to new ids:inherit(oldNamespace, newNamespace), andrenameCriteriafor criteria that were renamed. It also carries over structures already in a world and the loot of chests that were never opened.migration.carryOverMovedIdsin the newassortedlib-common.toml(.jsonon Fabric) turns it off.ICanColormarks a block a paint roller can recolor, so blocks from one mod take another mod's paint.AdvancementIconsdraws an advancement with the first of several items that is installed, for a root advancement a family of mods ships between them.- Mods can join a family to share a creative tab and manual section, and each one can be turned off in the family's parts config.
creative.hideUncraftableItemsinassortedlib-common.toml(.jsonon Fabric) hides items from the creative menu when nothing installed provides their material. Mods add those items withCreativeTabItems#addIfObtainable, andItemUtil.isTagEmptydoes the check.- The storage pieces Assorted Storage's parts share now live here, so they can become separate mods.
core.storagehasStorageMaterial, the base storage block, block entity and menus, andcore.storage.enderthe locked ender inventories. Their screens are inclient.screen.storage. - The chest, barrel, hopper and shulker box blocks are here too, with their block entities, menus,
renderers and models, so Assorted Locks can own the locked vanilla ones while each part keeps its
materials. Nothing is registered by Lib. A mod hands its blocks the block entity and menu types it
registered through
StorageTypes, and a block entity takes its type from its block. LockConversionssays what a lock turns a block into, so one padlock locks the containers of whichever mods are installed.LockItemsand the newc:locksandc:keystags let a container take a lock or check a key without knowing the mod that adds them.LevelUpgradessays how a mod's containers upgrade from one material to the next, so a level upgrade works on all of them.StorageAccessUtilmoved here too, andregisterKeySourceadds somewhere else a key can be, such as an accessory slot.SharedDataComponentsgives a family of mods one data component type between them, registered under its id by whichever asks first.StorageInfo, the lock and level lines on storage items, uses it, and the shared container backgrounds are Lib's own textures now.core.toolholds the tool materials Assorted Tools' parts share.ToolTiers.get()gives wood through netherite and 17 extra materials such as tin and ruby, fromassortedlib-tool-tiers.toml, which only exists once a mod asks for it.ArmorMaterialConfig,ConfigurableArmorItem,ConfigurableTieredItemandHarvestTierscame with them.ISwitchModesitems share one switch-modes key, Z by default. A mod turns it on withModeSwitching.enable()and, on the client,ModeSwitchKey.enable(); without one, there is no key and no packet.MovedIdsalso carries over data-driven entries saved under an old id, such as an enchantment on an item or a book, which vanilla would drop.IConditionHelper#conditionalOutputtakes a function from a recipe id to its conditions instead of a map. A mod that calls it directly can passmap::get.- Fixed recipe conditions, tooltips and biome changes that could go missing on NeoForge when several mods added them at the same time while loading.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:KkmxwW72:Lap4T8Hj"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:KkmxwW72:Lap4T8Hj"
}

