use of mods.railcraft.common.util.ai.EntityAIMoveToBlock in project Railcraft by Railcraft.
the class TileTradeStation method modifyNearbyAI.
private void modifyNearbyAI() {
for (EntityVillager villager : findNearbyVillagers(20)) {
AIPlugin.addAITask(villager, 9, new EntityAIWatchBlock(villager, getMachineType().getDefaultState(), 4, 0.08F));
AIPlugin.addAITask(villager, 9, new EntityAIMoveToBlock(villager, getMachineType().getDefaultState(), 16, 0.002F));
}
}
Aggregations