}
// Copy the components from block prefab into the block item
Prefab prefab = Assets.getPrefab(blockFamily.getArchetypeBlock().getPrefab());
if (prefab != null) {
for (Component component : prefab.iterateComponents()) {
if (component.getClass().getAnnotation(AddToBlockBasedItem.class) != null) {
builder.addComponent(entityManager.getComponentLibrary().copy(component));
}
}
}