Skip to content

Releases: TheOnlyTails/LootGoblin

LootTables v0.2.7

31 Mar 18:38
Compare
Choose a tag to compare

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

31 Mar 09:20
Compare
Choose a tag to compare

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

30 Mar 15:20
Compare
Choose a tag to compare

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

29 Mar 18:01
Compare
Choose a tag to compare

Removed the requirement for the loot pool block to return a pool, allowing for simpler entry creation.

LootTables v0.2.1

29 Mar 11:41
Compare
Choose a tag to compare

Added the MIT License! This is a FOSS library.

LootTables v0.2.0

29 Mar 10:30
Compare
Choose a tag to compare

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

29 Mar 07:50
a888108
Compare
Choose a tag to compare

Added a vararg version of the LootPool$Builder#add function.

LootTables v0.1.5

28 Mar 21:42
Compare
Choose a tag to compare

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

28 Mar 21:11
Compare
Choose a tag to compare

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

28 Mar 20:34
Compare
Choose a tag to compare

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")
}