Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poor ores, Ores and Dense Ores (Contenttweaker) generate with Rendering issues #113

Open
Ethryan opened this issue Nov 8, 2019 · 1 comment

Comments

@Ethryan
Copy link

Ethryan commented Nov 8, 2019

Hi,
when I use the materialsystem to add ores. Beacon beams, the breaking animation and rain, have issues for me that makes them unuseable, since you are able to see straight through the block during breaking.
image

code responsible for the creation of the blocks:
for material in oreSampleMaterials {
var poorOreData as MaterialPartData = material.registerPart("poor_ore").getData();
poorOreData.addDataValue("drops", oreDrops[material]);
poorOreData.addDataValue("variants", "minecraft:stone");
poorOreData.addDataValue("hardness", "5");
poorOreData.addDataValue("harvestTool", "pickaxe");
poorOreData.addDataValue("resistance", "15");
poorOreData.addDataValue("harvestLevel", "1");
}

for material in oreSampleMaterials {
var oreData as MaterialPartData = material.registerPart("ore").getData();
oreData.addDataValue("drops", oreDrops[material]);
oreData.addDataValue("variants", "minecraft:stone");
oreData.addDataValue("hardness", "5");
oreData.addDataValue("resistance", "15");
oreData.addDataValue("harvestTool", "pickaxe");
oreData.addDataValue("harvestLevel", "1");
}

for material in oreSampleMaterials {
var denseOreData as MaterialPartData = material.registerPart("dense_ore").getData();
denseOreData.addDataValue("drops", oreDrops[material]);
denseOreData.addDataValue("variants", "minecraft:stone");
denseOreData.addDataValue("hardness", "5");
denseOreData.addDataValue("resistance", "15");
denseOreData.addDataValue("harvestTool", "pickaxe");
denseOreData.addDataValue("harvestLevel", "1");
}

Is there any way to fix this problem?
Or is this related to the #111 issue?

Installed Mods and their Versions:
base-1.12.2-3.13.0.jar
ContentTweaker-1.12.2-4.9.1.jar
CraftTweaker2-1.12-4.1.19.jar
Hwyla-1.8.26-B41_1.12.2.jar
jei_1.12.2-4.15.0.291.jar
journeymap-1.12.2-5.5.5.jar
WailaHarvestability-mc1.12-1.1.12.jar

@tancop
Copy link

tancop commented Apr 2, 2020

A simple workaround would be - use materials for everything except the ore and a normal block with weighted drops instead of the broken generated one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants