Package net.minecraft.world.gen.structure.StructureVillagePieces

Examples of net.minecraft.world.gen.structure.StructureVillagePieces.PieceWeight


public class WorkshopCreationHandeler implements IVillageCreationHandler {

    @Override
    public PieceWeight getVillagePieceWeight(Random random, int i) {
        return new PieceWeight(ComponentWorkshop.class, 3, 1);
    }
View Full Code Here


public class VillageSmelteryHandler implements IVillageCreationHandler
{
    @Override
    public PieceWeight getVillagePieceWeight (Random random, int i)
    {
        return new PieceWeight(ComponentSmeltery.class, 9, 1);
    }
View Full Code Here

public class VillageToolStationHandler implements IVillageCreationHandler
{
    @Override
    public PieceWeight getVillagePieceWeight (Random random, int i)
    {
        return new PieceWeight(ComponentToolWorkshop.class, 30, i + random.nextInt(4));
    }
View Full Code Here

TOP

Related Classes of net.minecraft.world.gen.structure.StructureVillagePieces.PieceWeight

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.