ModelBlockDefinition state = BlockStateLoader.load(new InputStreamReader(resourceManager.getResource(location).getInputStream()), blockGson);
for (VariantList variantList : state.getMultipartVariants()) {
for (Variant variant : variantList.getVariantList()) {
ResourceLocation resource = variant.getModelLocation();
ResourceLocation variantResource = new ResourceLocation(resource.getResourceDomain(), "models/" + resource.getResourcePath() + ".json");
<BUG>QubbleModel model = ClientProxy.parseJsonModel(blockGson, resourceManager, importer, name, variantResource);

if (model == null) {
model = QubbleModel.create(name, "Unknown", 16, 16);
QubbleCuboid cuboid = QubbleCuboid.create("Cube");
cuboid.setDimensions(16, 16, 16);
cuboid.setPosition(-8.0F, 8.0F, -8.0F);
model.getCuboids().add(cuboid);</BUG>
}

ModelBlockDefinition state = BlockStateLoader.load(new InputStreamReader(resourceManager.getResource(location).getInputStream()), blockGson);
for (VariantList variantList : state.getMultipartVariants()) {
for (Variant variant : variantList.getVariantList()) {
ResourceLocation resource = variant.getModelLocation();
ResourceLocation variantResource = new ResourceLocation(resource.getResourceDomain(), "models/" + resource.getResourcePath() + ".json");
ModelWrapper model = ClientProxy.parseJsonModel(blockGson, resourceManager, importer, name, variantResource);
if (model == null) {
QubbleVanillaModel qubbleModel = QubbleVanillaModel.create(name, "Unknown");
QubbleVanillaCuboid cuboid = QubbleVanillaCuboid.create("Cube", null, 0.0F, 0.0F, 0.0F, 16.0F, 16.0F, 16.0F);
qubbleModel.addCuboid(cuboid);
return new BlockModelWrapper(qubbleModel);
}
