Search in sources :

Example 1 with BlockPrefabManager

use of org.terasology.engine.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.engine.world.block.BlockManager) BlockPrefabManager(org.terasology.engine.world.block.internal.BlockPrefabManager) BlockManagerImpl(org.terasology.engine.world.block.internal.BlockManagerImpl)

Aggregations

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