9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-30 12:29:15 +00:00

feat(client-mod): 修复客户端视觉问题

This commit is contained in:
jhqwqmc
2025-03-24 14:26:01 +08:00
parent 0f7f5e87d9
commit 36edf67dfe
4 changed files with 6 additions and 5 deletions

View File

@@ -19,6 +19,8 @@ sourceSets {
runtimeClasspath += sourceSets.main.get().runtimeClasspath
}
main {
compileClasspath += sourceSets["client"].output
runtimeClasspath += sourceSets["client"].output
output.dir(sourceSets["client"].output)
}
}

View File

@@ -13,7 +13,7 @@ public class BlockUtils {
if (world != null && pos != null) {
return BiomeColors.getFoliageColor(world, pos);
}
return FoliageColors.DEFAULT; // 默认颜色
return FoliageColors.DEFAULT;
},
block
);

View File

@@ -2,7 +2,6 @@ package net.momirealms.craftEngineFabricMod.util;
import net.minecraft.block.AbstractBlock;
import net.minecraft.block.Block;
import net.minecraft.block.Blocks;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.registry.RegistryKey;