mirror of
https://github.com/TeamMidnightDust/Puddles.git
synced 2025-12-15 19:45:09 +01:00
port: Spring to Life (1.21.5)
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'fabric-loom' version '1.7-SNAPSHOT'
|
id 'fabric-loom' version '1.10-SNAPSHOT'
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
id "me.shedaniel.unified-publishing" version "0.1.+"
|
id "me.shedaniel.unified-publishing" version "0.1.+"
|
||||||
}
|
}
|
||||||
@@ -130,7 +130,7 @@ unifiedPublishing {
|
|||||||
curseforge {
|
curseforge {
|
||||||
token = CURSEFORGE_TOKEN
|
token = CURSEFORGE_TOKEN
|
||||||
id = rootProject.curseforge_id
|
id = rootProject.curseforge_id
|
||||||
gameVersions.addAll "Java 21", project.minecraft_version, project.supported_versions
|
gameVersions.addAll "Java 21", project.minecraft_version
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -140,7 +140,7 @@ unifiedPublishing {
|
|||||||
token = MODRINTH_TOKEN
|
token = MODRINTH_TOKEN
|
||||||
id = rootProject.modrinth_id
|
id = rootProject.modrinth_id
|
||||||
version = "$project.version"
|
version = "$project.version"
|
||||||
gameVersions.addAll project.minecraft_version, project.supported_versions
|
gameVersions.addAll project.minecraft_version
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,13 +3,13 @@ org.gradle.jvmargs=-Xmx1G
|
|||||||
|
|
||||||
# Fabric Properties
|
# Fabric Properties
|
||||||
# check these on https://fabricmc.net/use
|
# check these on https://fabricmc.net/use
|
||||||
minecraft_version=1.21.4
|
minecraft_version=1.21.5
|
||||||
supported_versions=
|
supported_versions=
|
||||||
yarn_mappings=1.21.4+build.8
|
yarn_mappings=1.21.5+build.1
|
||||||
loader_version=0.16.10
|
loader_version=0.16.10
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 2.0.1
|
mod_version = 2.0.2
|
||||||
maven_group = eu.midnightdust
|
maven_group = eu.midnightdust
|
||||||
archives_base_name = puddles
|
archives_base_name = puddles
|
||||||
release_type=release
|
release_type=release
|
||||||
@@ -17,7 +17,7 @@ org.gradle.jvmargs=-Xmx1G
|
|||||||
modrinth_id=535D1YoA
|
modrinth_id=535D1YoA
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
fabric_version=0.115.0+1.21.4
|
fabric_version=0.119.5+1.21.5
|
||||||
midnightlib_version=1.6.7-fabric
|
midnightlib_version=1.6.10+1.21.4-fabric
|
||||||
polymer_version=0.11.3+1.21.4
|
polymer_version=0.12.1+1.21.5-rc2
|
||||||
server_translation_version=2.4.0+1.21.2-rc1
|
server_translation_version=2.4.0+1.21.2-rc1
|
||||||
|
|||||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ public class PuddleBlock extends Block implements PolymerBlock, BlockWithElement
|
|||||||
// Check if there are puddles on the sides of the block above
|
// Check if there are puddles on the sides of the block above
|
||||||
for (i = 2; i < 6; ++i) {
|
for (i = 2; i < 6; ++i) {
|
||||||
BlockPos pos1 = pos.up();
|
BlockPos pos1 = pos.up();
|
||||||
if (world.getBlockState(pos1.offset(Direction.byId(i))).getBlock() instanceof PuddleBlock) {
|
if (world.getBlockState(pos1.offset(Direction.byIndex(i))).getBlock() instanceof PuddleBlock) {
|
||||||
// When sides of the block above have a puddle, don't place the puddle
|
// When sides of the block above have a puddle, don't place the puddle
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -124,7 +124,7 @@ public class PuddleBlock extends Block implements PolymerBlock, BlockWithElement
|
|||||||
// Check if there are puddles on the sides of the block below
|
// Check if there are puddles on the sides of the block below
|
||||||
for (i = 2; i < 6; ++i) {
|
for (i = 2; i < 6; ++i) {
|
||||||
BlockPos pos1 = pos.down();
|
BlockPos pos1 = pos.down();
|
||||||
if (world.getBlockState(pos1.offset(Direction.byId(i))).getBlock() instanceof PuddleBlock) {
|
if (world.getBlockState(pos1.offset(Direction.byIndex(i))).getBlock() instanceof PuddleBlock) {
|
||||||
// When sides of the block below have a puddle, don't place the puddle
|
// When sides of the block below have a puddle, don't place the puddle
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user