final ItemStack item = new ItemStack(block, 1);
element.set(item);
ForestryModHelper.addToForesterBackpack(new ItemStack(block, 1, Short.MAX_VALUE));
final VineGenerator generator;
// gloriosa gets a biome list override
if (blockType == BlockCustomVine.BlockType.GLORIOSA) {
final BiomeSettings[] biomeList = { BiomeSettings.EXTREMEJUNGLE, BiomeSettings.MINIJUNGLE, BiomeSettings.RAINFOREST };
generator = new VineGenerator(block, biomeList);
} else {
generator = new VineGenerator(block);
}
proxy.registerWorldGenerator(generator);
}
}