Search in sources :

Example 1 with BlockPrefabManager

use of org.terasology.world.block.internal.BlockPrefabManager in project Terasology by MovingBlocks.

the class ProcessBlockPrefabs method step.

@Override
public boolean step() {
    BlockManagerImpl blockManager = (BlockManagerImpl) context.get(BlockManager.class);
    blockManager.subscribe(new BlockPrefabManager(context.get(EntityManager.class), blockManager));
    return true;
}
Also used : BlockManager(org.terasology.world.block.BlockManager) BlockPrefabManager(org.terasology.world.block.internal.BlockPrefabManager) BlockManagerImpl(org.terasology.world.block.internal.BlockManagerImpl)

Aggregations

BlockManager (org.terasology.world.block.BlockManager)1 BlockManagerImpl (org.terasology.world.block.internal.BlockManagerImpl)1 BlockPrefabManager (org.terasology.world.block.internal.BlockPrefabManager)1