Package mods.railcraft.common.blocks.machine.alpha.ai

Examples of mods.railcraft.common.blocks.machine.alpha.ai.EntityAIMoveToBlock


    private void modifyNearbyAI() {
        List<EntityVillager> villagers = MiscTools.getNearbyEntities(worldObj, EntityVillager.class, xCoord, yCoord - 1, yCoord + 3, zCoord, 20);
        for (EntityVillager villager : villagers) {
            AIPlugin.addAITask(villager, 9, new EntityAIWatchBlock(villager, getMachineType().getBlock(), getMachineType().ordinal(), 4, 0.08F));
            AIPlugin.addAITask(villager, 9, new EntityAIMoveToBlock(villager, getMachineType().getBlock(), getMachineType().ordinal(), 16, 0.002F));
        }
    }
View Full Code Here

TOP

Related Classes of mods.railcraft.common.blocks.machine.alpha.ai.EntityAIMoveToBlock

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.