版本信息
你使用的IDE:IntelliJ IDEA
你使用的IDE版本:2019.9.3 java8
Forge版本: 31.1.0
Minecraft版本: 1.15.2
Mapping 文件版本: 20200314-1.15.1
出错图
错误情况简述
可以看见使用OBJ模型的方块之间有着黑色阴影,请问如何消除这个黑色阴影?
相关代码
AquaticSpiritStoneBlock.java
package com.otakusaikou.selfcultivationcraft.blocks.helpers;
import com.otakusaikou.selfcultivationcraft.blocks.SpiritStoneBlock;
import com.otakusaikou.selfcultivationcraft.groups.ModGroups;
import net.minecraft.item.Item;
public class AquaticSpiritStoneBlock extends SpiritStoneBlock {
public AquaticSpiritStoneBlock(String registryName) {
super();
BlockInitializationHelpers.blockInitializationHelper(this, registryName, new Item.Properties().group(ModGroups.getSelfCultivationCraftGroup()));
}
}
SpiritStoneBlock.java
package com.otakusaikou.selfcultivationcraft.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.material.Material;
public class SpiritStoneBlock extends Block {
public SpiritStoneBlock() {
super(Properties.create(Material.ROCK).notSolid());
}
}