Releases: TheOnlyTails/LootGoblin
LootTables v0.2.7
Added LootTableCreationException
, which gets thrown when creating a loot entry/adding a condition or function to either a loot entry or pool returns null
.
Added a function that creates a fishing predicate.
Added a version of randomRangeValue that uses a Kotlin range (randomValueRange(start..end)
).
Updated to Kotlin 1.5.0-M2.
Updated KotlinForForge to 1.11.0.
LootTables v0.2.6
Changed the return types of relevant functions to StandaloneLootEntry.Builder<*>
.
Added weight
and quality
as optional parameters of the entry functions (defaults = 1 and 0, respectively).
Enjoy!
TheOnlyTails
LootTables v0.2.5
Fixed a problem where entries in an alternatives
entry were being added to the pool twice.
Added the correct receivers and return types to the loot functions' body
parameters.
Updated Forge.
Enjoy!
TheOnlyTails
LootTables v0.2.3
Removed the requirement for the loot pool block to return a pool, allowing for simpler entry creation.
LootTables v0.2.1
Added the MIT License! This is a FOSS library.
LootTables v0.2.0
This release adds KDocs to all of the functions, making it easier to understand what's going on, and shrinks down the code base by a lot.
Enjoy!
TheOnlyTails
LootTables v0.1.6
Added a vararg
version of the LootPool$Builder#add
function.
LootTables v0.1.5
Fixed the incompatibility between adding an entry to a pool and to an alternatives entry.
Installation
Gradle/Groovy:
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.TheOnlyTails:LootTables:0.1.5'
}
Gradle/Kotlin:
repositories {
maven( url = "https://jitpack.io")
}
dependencies {
implementation(group = "com.github.TheOnlyTails", name = "LootTables", version = "0.1.5")
}
LootTables v0.1.4
Added proper support for alternative entries.
Installation
Gradle/Groovy:
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.TheOnlyTails:LootTables:0.1.2'
}
Gradle/Kotlin:
repositories {
maven( url = "https://jitpack.io")
}
dependencies {
implementation(group = "com.github.TheOnlyTails", name = "LootTables", version = "0.1.2")
}
LootTables v0.1.3
Fixed an issue in the previous release.
Installation
Gradle/Groovy:
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.TheOnlyTails:LootTables:0.1.2'
}
Gradle/Kotlin:
repositories {
maven( url = "https://jitpack.io")
}
dependencies {
implementation(group = "com.github.TheOnlyTails", name = "LootTables", version = "0.1.2")
}