Tags
Creators
Details
Licensed ARR
Published 2 months ago
Updated 8 hours ago
All versions
mc26.3-1.2-fabric
Release
[mc26.3] DillonLib 1.28 hours ago 29
Compatibility
Minecraft: Java Edition
26.3
Platform
Fabric
Supported environments
Client and server
Required content
Any compatible version
Any compatible version
Changes
Version 1.2
- Introduce
DillonLibScreeninterface, a basic interface which can be implemented on new screen classes to make creating screens easier. Acts like a normal options/menu screen class, with more functionality and expansion with the use ofScreenBuilder. - Introduce
BasicDillonLibScreen(an instance of Screen), andDillonLibMenuScreen(an instance of OptionsSubScreen). Acts like a normal screen class, with more functionality and expansion with the use ofScreenBuilder. - Introduce
ScreenBuilder, a utility class, which must be constructed inBasicDillonLibScreenandDillonLibMenuScreen, and can be used as a literal screen builder. - Introduce
WidgetData, which stores custom widget data like if the widget should be active, an active/inactive tooltip, and a custom x/y pos.
ClientTasks.drawModInfonow calculates the size of your mod version text and automatically determines how to place the text and logo on a screen.- Renamed
ClientTasks.tryOpenYaclScreentoClientTasks.tryOpenConfigScreenand added aModConfigLibparameter, to include which mod needs to be loaded to open a config screen.
- Added
ModConfigLibrecord, which takes in a ComponentlibNameas the literal mod's library name to display, and aModReferenceto check if the library is loaded from mod id. ModReferences andModConfigLibs are now created usingofmethods, and constructors are now private.PlatformMenuButtons constructor is now also private, and new buttons are creating usingofmethods, as well as additional methods added into the class, to make creating buttons easier.- Moved
ClientTasks.createSpriteIconButtontoUpdatableSpriteButton.createSpriteIconButton, UpdatableSpriteButton constructors are now private. PredicateEntryconstructor is now private, now created withofmethods, and added more methods to make creating predicates easier.
- Removed
LogoWidthenum, no need for it anymore. - Remove
logoWidthmethod from ModPlatform. - Remove
loggermethod from ModPlatform. - Rename
@NotNullannotations from object-returned methods. - Rename PlatformRelease to
Release, and rename PlatformName toPlatform.- "platformRelease()" method in ModPlatform is now named
release(). - "platformName()" method in ModPlatform is now named ```platform`()``.
- "platformRelease()" method in ModPlatform is now named
- Reorder methods in ModPlatform.
- Add
Linksclass. - Add
ScreenInvoker. - Add a couple more texts.
- Add doc comment to
modVersionmethod in ModPlatform to useCommonModPlatform.commonModVersion(). - Rename
PredicateSignedannotation toPredicated. - Removed deprecated
RecipeSerializerFactory.
- Added a screen to directly open the config file.
- Fixed DillonLib config not loading upon game launch.
Supplementary resources
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:bClkejk5:6Th9PONZ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:bClkejk5:6Th9PONZ"
}

