Skip to content

Commit

Permalink
纸娃娃导入更新(默认注释)
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyRespawnanchor committed Oct 19, 2024
1 parent 1111de1 commit 1aad108
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ dependencies {

// GeckoLib
modImplementation("software.bernie.geckolib:geckolib-fabric-${minecraft_version}:${geckolib_version}")
// PaperDoll Render
// modImplementation("org.ayamemc:paperdoll-render:common-${paperdollrender_version}")
// Ayame PaperDoll
//modImplementation("org.ayamemc:ayame-paperdoll:common-${ayame_paperdoll_version}")
}

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.ayamemc.ayame.model.DefaultAyameModelType;
import org.ayamemc.ayame.util.FileUtil;
import org.ayamemc.ayame.util.TaskManager;
import org.jetbrains.annotations.NotNull;

import java.io.IOException;
import java.nio.file.Files;
Expand Down Expand Up @@ -64,7 +65,7 @@ public static void init() {
}

// TODO: JSON爆null问题在于此处,res.getDefault传入的content内的index.json为null
private static IModelResource createModelResource(String name) {
private static @NotNull IModelResource createModelResource(String name) {
Path path = Path.of(MODEL_PATH + name + ".zip");
// 检查文件是否存在
if (!Files.exists(path)) {
Expand Down
4 changes: 2 additions & 2 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ dependencies {
modImplementation("maven.modrinth:too-many-shortcuts:0.0.5+mc.1.21.1")
// Fabric Language Kotlin 它是too-many-shortcuts的前置,不是我们模组的前置,在这里只是为了让too-many-shortcuts正常加载
modImplementation("net.fabricmc:fabric-language-kotlin:1.12.1+kotlin.2.0.20")
// PaperDoll Render
//modImplementation("org.ayamemc:paperdoll-render:fabric-${paperdollrender_version}")
// Ayame PaperDoll
//modImplementation("org.ayamemc:ayame-paperdoll:fabric-${ayame_paperdoll_version}")

common(project(path: ':common', configuration: 'namedElements')) { transitive false }
shadowBundle project(path: ':common', configuration: 'transformProductionFabric')
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ geckolib_version=4.5.8
# Fabric Mod Menu Version
modmenu_version=11.0.2
# PaperDoll Render Version
paperdollrender_version=4.0.0
ayame_paperdoll_version=4.0.0
4 changes: 2 additions & 2 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ dependencies {
// 不要使用modImplementation,否则IO会爆炸
// GeckoLib
implementation("software.bernie.geckolib:geckolib-neoforge-${minecraft_version}:${geckolib_version}")
// PaperDoll Render
//implementation("org.ayamemc:paperdoll-render:neoforge-${paperdollrender_version}")
// Ayame PaperDoll
//implementation("org.ayamemc:ayame-paperdoll:neoforge-${ayame_paperdoll_version}")
}

processResources {
Expand Down

0 comments on commit 1aad108

Please sign in to comment.