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:
@@ -19,6 +19,8 @@ sourceSets {
|
||||
runtimeClasspath += sourceSets.main.get().runtimeClasspath
|
||||
}
|
||||
main {
|
||||
compileClasspath += sourceSets["client"].output
|
||||
runtimeClasspath += sourceSets["client"].output
|
||||
output.dir(sourceSets["client"].output)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ public class BlockUtils {
|
||||
if (world != null && pos != null) {
|
||||
return BiomeColors.getFoliageColor(world, pos);
|
||||
}
|
||||
return FoliageColors.DEFAULT; // 默认颜色
|
||||
return FoliageColors.DEFAULT;
|
||||
},
|
||||
block
|
||||
);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user