Skip to content

Commit

Permalink
chore: Drop Create 0.5.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Mar 16, 2024
1 parent cbfc363 commit 66200e0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ repositories {
maven { url = "https://maven.tterrag.com/" }
maven { url = "https://maven.theillusivec4.top/" }
maven { url = "https://maven.neoforged.net/releases" }
maven { url = "https://raw.githubusercontent.com/Fuzss/modresources/main/maven/" }
}

archivesBaseName = project.archives_base_name
Expand Down Expand Up @@ -149,6 +150,9 @@ dependencies {
// These act like a dummy, technically only here to provide their modules/packages
if (isFabric) {
modCompileOnly("io.github.fabricators_of_create:Porting-Lib:${project.port_lib_version_1_18_2}")
modCompileOnly("com.simibubi.create:create-fabric-${project.minecraft_version_1_18_2}:${project.create_version_1_18_2}")
} else {
modCompileOnly("com.simibubi.create:create-1.18.2:0.5.1.e-318:slim") { transitive = false }
}

// <- EMI
Expand Down Expand Up @@ -403,4 +407,4 @@ publishMods {
}
}
}
}
}
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ recipe_viewer=none
# Dependencies
jankson_version=1.2.3
emi_version=1.0.26
manifold_version=2024.1.3
manifold_version=2024.1.5

# Version Specific Dependencies
create_version_1_18_2=0.5.0.i-1002+1.18.2
create_version_1_18_2=0.5.1-f-build.1333+mc1.18.2
port_lib_version_1_18_2=1.2.869-beta+1.18.2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//#if MC>1.16.5
package io.github.null2264.cobblegen.mixin.fluid;
package io.github.null2264.cobblegen.mixin.create;

//#if FABRIC>=1
import io.github.fabricators_of_create.porting_lib.util.FluidStack;
Expand Down Expand Up @@ -27,7 +27,7 @@

@SuppressWarnings("UnresolvedMixinReference") // False positive
@Pseudo
@Mixin(targets = {"com.simibubi.create.content.contraptions.fluids.FluidReactions", "com.simibubi.create.content.fluids.FluidReactions"})
@Mixin(com.simibubi.create.content.fluids.FluidReactions.class)
public abstract class CreateFluidReactionsMixin
{
@Unique
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/cobblegen.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"CommandsMixin",
"MinecraftServerMixin",
//#if MC>1.16.5
"fluid.CreateFluidReactionsMixin",
"create.CreateFluidReactionsMixin",
//#endif
"fluid.FluidEventMixin",
"fluid.LavaEventMixin"
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,8 @@
"depends": {
"fabricloader": "*",
"minecraft": "${mcversion}"
},
"breaks": {
"create": ">=0.5.1"
}
}

0 comments on commit 66200e0

Please sign in to comment.