Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version "${loom_version}"
id "net.fabricmc.fabric-loom" version "${loom_version}"
id 'org.moddedmc.wiki.toolkit' version '0.3.2'
}

Expand All @@ -10,24 +10,23 @@ base {
}

repositories {
maven { url 'https://maven.terraformersmc.com/' } // Required for Biolith
maven { url 'https://maven.terraformersmc.com' } // Required for Biolith
}

dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
implementation "net.fabricmc:fabric-loader:${project.loader_version}"

modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
implementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"

modApi include("com.terraformersmc:biolith-fabric:${biolith_version}") {
api include("com.terraformersmc:biolith-fabric:${biolith_version}") {
exclude(group: "net.fabricmc.fabric-api")
}

compileOnly "com.google.code.findbugs:jsr305:3.0.2"

// Version list: https://maven.su5ed.dev/#/releases/org/sinytra/wiki-exporter-fabric
modRuntimeOnly "org.sinytra:wiki-exporter-fabric:2.2.1+1.21.11"
//runtimeOnly "org.sinytra:wiki-exporter-fabric:2.2.1+1.21.11"
}

loom {
Expand Down Expand Up @@ -76,14 +75,14 @@ processResources {

tasks.withType(JavaCompile).configureEach {
it.options.encoding = "UTF-8"
it.options.release = 21
it.options.release = 25
}

java {
withSourcesJar()

sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
sourceCompatibility = JavaVersion.VERSION_25
targetCompatibility = JavaVersion.VERSION_25
}

jar {
Expand Down
14 changes: 9 additions & 5 deletions docs/customize/mob_variants.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,22 @@ Duck variants are defined in the `data/<namespace>/promenade/duck_variant` folde

* [JSON Object]
* [String] `asset_id` - The resource location of the texture to use for the adult duck.
* [String] `baby_texture` - The resource location of the texture to use for the duckling. (defaults to `promenade:entity/duck/duckling`)
* [String] `baby_asset_id` - The resource location of the texture to use for the duckling. (defaults to `promenade:entity/duck/duckling`)
* [String] `spawn_conditions` - The spawn conditions of this variant, see [spawn conditions](https://minecraft.wiki/w/Mob_variant_definitions#Spawn_condition).

### Capybara

Capybara variants are defined in the `data/<namespace>/promenade/capybara_variant` folder.

* [JSON Object]
* [String] `small_eyes_texture` - The resource location of the texture to use for adult capybaras.
* [String] `large_eyes_texture` - The resource location of the texture to use for baby capybaras and farting adult capybaras.
* [String] `closed_eyes_texture` - The resource location of the texture to use for sleeping capybaras.
* [String] `spawn_conditions` - The spawn conditions of this variant, see [spawn conditions](https://minecraft.wiki/w/Mob_variant_definitions#Spawn_condition).
* `assets` - Assets used for the adult.
* [String] `normal` - The resource location of the texture to use for normal adult capybaras.
* [String] `surprised` - The resource location of the texture to use for surprised adult capybaras. (eg. when farting)
* [String] `sleeping` - The resource location of the texture to use sleeping adult capybaras.
* `baby_assets` - Assets used for the baby.
* [String] `normal` - The resource location of the texture to use for normal baby capybaras.
* [String] `surprised` - The resource location of the texture to use for surprised baby capybaras. (eg. when farting)
* [String] `sleeping` - The resource location of the texture to use sleeping baby capybaras.

### Sunken

Expand Down
11 changes: 5 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ loader_name=Fabric
loader_icon=https://fabricmc.net/assets/logo.png

# check these on https://fabricmc.net/versions.html
minecraft_version=1.21.11
yarn_mappings=1.21.11+build.3
loader_version=0.18.3
loom_version=1.14-SNAPSHOT
minecraft_version=26.1
loader_version=0.18.6
loom_version=1.15-SNAPSHOT

# Fabric API
fabric_version=0.140.2+1.21.11
fabric_api_version=0.145.1+26.1

# https://maven.terraformersmc.com/releases/com/terraformersmc/biolith-fabric
biolith_version=3.5.0-beta.3
biolith_version=3.6.0-alpha.4
Loading
Loading