mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 07:17:58 +01:00
Switch support for farmer's delight to farmer's delight refabricated
This commit is contained in:
parent
ec9a12bdf9
commit
a81336ef88
3 changed files with 16 additions and 8 deletions
12
build.gradle
12
build.gradle
|
@ -44,13 +44,15 @@ reckon {
|
|||
repositories {
|
||||
mavenLocal()
|
||||
flatDir { dirs 'lib' }
|
||||
maven { name 'entity-reach-attributes'; url 'https://maven.jamieswhiteshirt.com/libs-release' }
|
||||
maven { name 'entity-reach-attributes'; url 'https://maven.jamieswhiteshirt.com/libs-release'; content { includeGroup "com.jamieswhiteshirt" } }
|
||||
maven { name 'trinkets'; url 'https://maven.ladysnake.org/releases' }
|
||||
maven { name 'mod-menu'; url 'https://maven.terraformersmc.com/' }
|
||||
maven { name 'minelp-snapshot'; url 'https://repo.minelittlepony-mod.com/maven/snapshot' }
|
||||
maven { name 'minelp-releases'; url 'https://repo.minelittlepony-mod.com/maven/release' }
|
||||
maven { name 'TerraformersMC'; url 'https://maven.terraformersmc.com/' }
|
||||
maven { name 'Nodium'; url 'https://maven.cafeteria.dev/releases/' }
|
||||
maven { name 'Greenhouse Maven For Farmers delight'; url 'https://maven.greenhouseteam.dev/releases/' }
|
||||
maven { name 'Porting Lib For Farmers delight'; url = 'https://mvn.devos.one/releases/' }
|
||||
maven { name 'Modrinth'; url 'https://api.modrinth.com/maven' }
|
||||
maven { name 'JitPack'; url 'https://jitpack.io'; content { includeGroup "com.github.Virtuoel" } }
|
||||
}
|
||||
|
@ -84,7 +86,9 @@ dependencies {
|
|||
modImplementation "me.luligabi:NoIndium:${project.nodium_version}"
|
||||
include "me.luligabi:NoIndium:${project.nodium_version}"
|
||||
|
||||
modCompileOnly "maven.modrinth:farmers-delight-fabric:${project.farmers_delight_version}", { exclude group: "net.fabricmc.fabric-api" }
|
||||
modImplementation "vectorwing:FarmersDelight-Refabricated:${project.farmers_delight_version}", {
|
||||
exclude group: "net.fabricmc"
|
||||
}
|
||||
if (project.use_pehkui == '1') {
|
||||
modCompileOnly "maven.modrinth:pehkui:${project.pehkui_version}", { exclude group: "net.fabricmc.fabric-api" }
|
||||
modCompileOnly "com.github.Virtuoel:KanosConfig:0.4.1", { exclude group: "net.fabricmc.fabric-api" }
|
||||
|
@ -103,6 +107,10 @@ dependencies {
|
|||
}
|
||||
}
|
||||
|
||||
remapJar {
|
||||
addNestedDependencies = true
|
||||
}
|
||||
|
||||
processResources {
|
||||
inputs.property "version", project.version.toString()
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ org.gradle.daemon=false
|
|||
# check these on https://fabricmc.net/develop
|
||||
minecraft_version=1.20.1
|
||||
yarn_mappings=1.20.1+build.10
|
||||
loader_version=0.15.3
|
||||
loader_version=0.15.7
|
||||
fabric_version=0.91.0+1.20.1
|
||||
|
||||
# Mod Properties
|
||||
|
@ -22,8 +22,8 @@ org.gradle.daemon=false
|
|||
# Dependencies
|
||||
fabwork_version=1.2.0
|
||||
modmenu_version=7.0.0-beta.2
|
||||
minelp_version=4.10.4+1.20.1
|
||||
kirin_version=1.15.4+1.20
|
||||
minelp_version=4.10.6+1.20.1
|
||||
kirin_version=1.15.5-beta.1+1.20.1
|
||||
reach_attributes_version=2.3.4
|
||||
trinkets_version=3.7.1
|
||||
terraformer_api_version=7.0.0-beta.1
|
||||
|
@ -33,7 +33,7 @@ org.gradle.daemon=false
|
|||
use_pehkui=0
|
||||
use_sodium=1
|
||||
|
||||
farmers_delight_version=1.4.3
|
||||
farmers_delight_version=1.20.1-2.0.9
|
||||
pehkui_version=3.7.8+1.14.4-1.20.1
|
||||
iris_version=1.6.17+1.20.1
|
||||
sodium_version=mc1.20.1-0.5.8
|
||||
|
|
|
@ -69,7 +69,7 @@ public interface UTreeGen {
|
|||
.sapling(Unicopia.id("palm_sapling")).sapling((generator, settings) -> {
|
||||
return new SaplingBlock(generator, settings) {
|
||||
@Override
|
||||
protected boolean canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) {
|
||||
public boolean canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) {
|
||||
return floor.isIn(BlockTags.SAND);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue