Search in sources :

Example 1 with BlockTypeEntityGenerator

use of org.terasology.engine.world.block.typeEntity.BlockTypeEntityGenerator in project Terasology by MovingBlocks.

the class InitialiseBlockTypeEntities method step.

@Override
public boolean step() {
    BlockManagerImpl blockManager = (BlockManagerImpl) context.get(BlockManager.class);
    blockManager.subscribe(new BlockTypeEntityGenerator(context.get(EntityManager.class), blockManager));
    return true;
}
Also used : BlockManager(org.terasology.engine.world.block.BlockManager) BlockTypeEntityGenerator(org.terasology.engine.world.block.typeEntity.BlockTypeEntityGenerator) 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 BlockTypeEntityGenerator (org.terasology.engine.world.block.typeEntity.BlockTypeEntityGenerator)1