Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
1.20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
TexBlock committed Sep 12, 2023
1 parent 76548fc commit 1431e54
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 29 deletions.
11 changes: 8 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'fabric-loom' version '1.2-SNAPSHOT'
id "io.github.juuxel.loom-quiltflower" version "1.+"
id 'fabric-loom' version '1.3-SNAPSHOT'
id "io.github.juuxel.loom-vineflower" version "1.+"
id "io.github.p03w.machete" version "1.1.4"
id 'maven-publish'
}

Expand All @@ -19,16 +20,20 @@ repositories {
maven { url = "https://maven.shedaniel.me/" } // Cloth Config, REI
maven { url = "https://jitpack.io/" } // Mixin Extras, Fabric ASM
maven { url = "https://maven.jamieswhiteshirt.com/libs-release" } // Reach Entity Attributes

maven { url = "https://maven.quiltmc.org/repository/release" } // QM
maven { url = "https://maven.parchmentmc.org" } // Parchment
}

dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
mappings "org.quiltmc:quilt-mappings:${project.qm_version}:intermediary-v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

modImplementation("com.simibubi.create:create-fabric-${project.minecraft_version}:${project.create_version}") {
exclude(Map.of("module", "forge-config-api-port-fabric-547434"))
exclude(group: "io.github.fabricators_of_create")
}
modImplementation "io.github.fabricators_of_create.Porting-Lib:Porting-Lib:${project.portinglib_version}"
modLocalRuntime "maven.modrinth:forge-config-api-port:${project.forgeconfigapiport_version}"
Expand Down
17 changes: 9 additions & 8 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.19.2
yarn_mappings=1.19.2+build.18
minecraft_version=1.20.1
# https://lambdaurora.dev/tools/import_quilt.html
qm_version = 1.20.1+build.23
loader_version=0.14.17

# Mod Properties
mod_version=0.1.5-create0.5.1-mc1.19.x
mod_version=0.1.0-create0.5.1-mc1.20.x
maven_group=ho.artisan.createreibugfix
archives_base_name=CreateFabricREIBugFix

# Dependencies
fabric_version=0.67.0+1.19.2
fabric_version=0.88.1+1.20.1

rei_version=9.1.580
forgeconfigapiport_version=4.2.11
create_version=0.5.1.b-1053+1.19.2
portinglib_version=2.1.1032+1.19.2
rei_version=12.0.652
forgeconfigapiport_version=v8.0.0-1.20.1-Fabric
create_version=0.5.1-d-build.1161+mc1.20.1
portinglib_version=2.1.1127+1.20
conditionalmixin_version=v0.3.2
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
@ApiStatus.Internal
public final class CreateDisplayInject {
/**
{@link ProcessingRecipe}{@link SequencedAssemblyRecipe}的多物品输出和流体输入输出也加入{@link me.shedaniel.rei.api.common.display.Display}的输入输出。
@param args {@link CreateDisplay#CreateDisplay(Recipe, CategoryIdentifier, List, List)}的参数
@param recipe0 {@link CreateDisplay#CreateDisplay(Recipe, CategoryIdentifier)}的参数{@code recipe}
@param id {@link CreateDisplay#CreateDisplay(Recipe, CategoryIdentifier)}的参数{@code id}
Add the multi-item outputs and fluid inputs and outputs of {@link ProcessingRecipe} and {@link SequencedAssemblyRecipe} to the inputs and outputs of {@link me.shedaniel.rei.api.common.display}.
@param args arguments for {@link CreateDisplay#CreateDisplay(Recipe, CategoryIdentifier, List, List)}
@param recipe0 arguments for {@link CreateDisplay#CreateDisplay(Recipe, CategoryIdentifier)} {@code recipe}
@param id arguments for {@link CreateDisplay#CreateDisplay(Recipe, CategoryIdentifier)} {@code id}
*/
public static void improveStupidDisplay(Args args, Recipe<?> recipe0, CategoryIdentifier<CreateDisplay<Recipe<?>>> id) {
if (recipe0 instanceof ProcessingRecipe<?> recipe) {
Expand All @@ -69,8 +69,4 @@ public static void improveStupidDisplay(Args args, Recipe<?> recipe0, CategoryId
args.set(3, outputs);
}
}

private CreateDisplayInject() {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,4 @@ static List<ProcessingOutput> getResultPool(SequencedAssemblyRecipe self) {
}
List<ProcessingOutput> getResultPool();
}

private SequencedAssemblyRecipeInject() {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,4 @@ public static Slot slotOf(Point pos, Collection<EntryStack<?>> entries) {
}
return slot;
}

private REICreateUtils() {

}
}
4 changes: 2 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
],
"depends": {
"fabricloader": "*",
"fabric-api": "*",
"minecraft": "1.19.x",
"fabric": "*",
"minecraft": "1.20.x",
"java": ">=17",
"roughlyenoughitems": "*",
"create": "*"
Expand Down

0 comments on commit 1431e54

Please sign in to comment.