// Register the directional submaterials
if (model == null) {
return;
}
int i = 1;
for (BlockFace face : new BlockFaces(BlockFace.WEST, BlockFace.NORTH, BlockFace.SOUTH)) {
new Pumpkin(name + "_" + face.name().charAt(0), id, i++, this, ModelUtil.getDirectionalModel(model, face), lantern);
}
new Pumpkin(name, id, i, this, model, lantern);
}